The typing stubs generator currently uses GIRepository 2.0, which is no available in pyGObject >3.50.0.