Port to libgirepository-2.0
libgirepository has moved into glib.git. As a result of this, it’s bumped its major version, and has made a number of API improvements. The new version is parallel installable with the old one, but at some point pygobject is probably going to want to port to the new version.
The list of API changes / porting guide is here: https://gitlab.gnome.org/GNOME/glib/-/blob/main/docs/reference/girepository/migrating-gi.md?ref_type=heads
While I was working on libgirepository-2.0, I started porting pygobject to it. However, I never got enough time to finish it, and now my contract for that work is over and I cannot spend more time on it.
I’ve pushed what I have as a WIP branch here, in the hope that it forms a bit of a basis for someone to continue the port, as and when someone picks up this issue: https://gitlab.gnome.org/pwithnall/pygobject/-/commits/girepository-2.0