Support PyGObject 3.11