mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
pygobject 3.52 has switched [1] to using libgirepository-2.0 which comes from glib itself now, rather than the 1.0 which came from gobject-introspection. This means that it fails to load the incompatible "GIRepository 2.0" and thus must be ported to 3.0 (which is provided by libgirepository-2.0). Migration guide is here [2] [1]: https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/320 [2]: https://docs.gtk.org/girepository/migrating-gi.html This commit adds suppport for importing with "gi.require_version("GIRepository", "3.0") and falling back to the existing "GIRepository 2.0" if not found. |
||
---|---|---|
.. | ||
language | ||
outputs | ||
__init__.py | ||
ast_utils.py | ||
completions.py | ||
completions_utils.py | ||
decompiler.py | ||
errors.py | ||
formatter.py | ||
gir.py | ||
interactive_port.py | ||
lsp.py | ||
lsp_utils.py | ||
main.py | ||
parse_tree.py | ||
parser.py | ||
tokenizer.py | ||
typelib.py | ||
utils.py | ||
xml_reader.py |