PyGObject 3.52.2__tar.gz → 3.54.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pygobject-3.52.2 → pygobject-3.54.0}/.clang-format +3 -3
- pygobject-3.54.0/.git-blame-ignore-revs +2 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/.gitignore +2 -0
- pygobject-3.54.0/.gitlab-ci/Dockerfile +48 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/.gitlab-ci/coverage-docker.sh +2 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/.gitlab-ci/fixup-lcov-paths.py +10 -10
- {pygobject-3.52.2 → pygobject-3.54.0}/.gitlab-ci/lcovrc +5 -1
- pygobject-3.54.0/.gitlab-ci/org.gnome.PyGObject.Devel.yaml +36 -0
- pygobject-3.54.0/.gitlab-ci/test-flatpak.sh +9 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/.gitlab-ci.yml +110 -58
- pygobject-3.54.0/.pre-commit-config.yaml +26 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/COPYING +10 -10
- {pygobject-3.52.2 → pygobject-3.54.0}/METADATA.in +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/NEWS +37 -5
- {pygobject-3.52.2 → pygobject-3.54.0}/PKG-INFO +12 -12
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/Makefile +1 -1
- pygobject-3.54.0/docs/conf.py +56 -0
- pygobject-3.54.0/docs/devguide/analysis/classes_without_constructor.rst +95 -0
- pygobject-3.54.0/docs/devguide/analysis/index.rst +15 -0
- pygobject-3.54.0/docs/devguide/analysis/object_ref_counting_for_vfuncs_and_closures.rst +438 -0
- pygobject-3.54.0/docs/devguide/analysis/property_object_transfer.rst +310 -0
- pygobject-3.54.0/docs/devguide/analysis/signal_transfer.rst +100 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/devguide/dev_environ.rst +6 -5
- pygobject-3.54.0/docs/devguide/gbytes_marshaller_tutorial.rst +191 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/devguide/index.rst +6 -1
- pygobject-3.54.0/docs/devguide/initializer_deprecations.rst +75 -0
- pygobject-3.54.0/docs/devguide/introspection_porting.rst +478 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/devguide/override_guidelines.rst +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/devguide/overview.rst +2 -1
- pygobject-3.54.0/docs/devguide/profiling.rst +62 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/devguide/style_guide.rst +13 -2
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/getting_started.rst +3 -2
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/api/basic_types.rst +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/api/gobject.rst +9 -9
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/api/properties.rst +5 -5
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/api/signals.rst +6 -6
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/code/cairo-demo.py +7 -8
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/download_asyncio.py +1 -3
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/download_callback.py +1 -3
- pygobject-3.52.2/docs/guide/flatpaking.rst → pygobject-3.54.0/docs/guide/flatpak.rst +2 -2
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/imports.rst +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/index.rst +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/threading.rst +9 -9
- pygobject-3.54.0/docs/icons.rst +52 -0
- pygobject-3.54.0/docs/images/arch-dark.svg +1 -0
- pygobject-3.54.0/docs/images/arch.svg +1 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gobject/basics.rst +3 -3
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gobject/examples/listmodel.py +8 -8
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gobject/subclassing.rst +6 -6
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/dropdown.rst +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/entries.rst +2 -2
- pygobject-3.54.0/docs/tutorials/gtk4/controls/examples/button.py +45 -0
- pygobject-3.54.0/docs/tutorials/gtk4/controls/examples/check_radio_buttons.py +49 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/examples/dropdown.py +7 -7
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/examples/entries.py +17 -22
- pygobject-3.54.0/docs/tutorials/gtk4/controls/examples/linkbutton.py +23 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/examples/spinbutton.py +10 -12
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/examples/switch.py +8 -11
- pygobject-3.54.0/docs/tutorials/gtk4/controls/examples/togglebutton.py +36 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/examples/label.py +29 -31
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/examples/picture.py +7 -9
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/examples/progressbar.py +12 -17
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/examples/spinner.py +8 -8
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/examples/spinner_ext.py +21 -21
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/picture.rst +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/application.py +21 -21
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/clipboard.py +16 -22
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/drag_and_drop.py +21 -21
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/extended_example.py +6 -7
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/layout_box.py +10 -10
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/layout_center.py +7 -7
- pygobject-3.54.0/docs/tutorials/gtk4/examples/layout_flowbox.py +131 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/layout_grid.py +10 -10
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/layout_headerbar.py +6 -6
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/layout_listbox.py +13 -17
- pygobject-3.54.0/docs/tutorials/gtk4/examples/layout_notebook.py +32 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/layout_stack.py +10 -10
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/popover.py +9 -9
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/popover_menu.py +8 -8
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/simple_example.py +3 -3
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/examples/textview.py +44 -76
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/introduction.rst +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/index.rst +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/libadwaita/application.rst +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/libadwaita.rst +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/__init__.py +42 -38
- pygobject-3.54.0/gi/_constants.py +46 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/_enum.py +37 -10
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/_error.py +4 -9
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/_gtktemplate.py +42 -58
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/_option.py +65 -59
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/_ossighelper.py +33 -32
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/_propertyhelper.py +149 -86
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/_signalhelper.py +67 -36
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/_signature.py +7 -11
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/docstring.py +59 -63
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/events.py +134 -70
- pygobject-3.54.0/gi/gimodule.c +2479 -0
- pygobject-3.54.0/gi/gimodule.h +14 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/importer.py +24 -28
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/module.py +52 -51
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/overrides/GIMarshallingTests.py +6 -11
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/overrides/GLib.py +308 -201
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/overrides/GObject.py +353 -159
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/overrides/Gdk.py +174 -160
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/overrides/GdkPixbuf.py +15 -9
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/overrides/Gio.py +208 -172
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/overrides/Gtk.py +558 -374
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/overrides/Pango.py +7 -13
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/overrides/__init__.py +125 -69
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygboxed.c +57 -65
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygboxed.h +6 -6
- pygobject-3.54.0/gi/pygenum.c +507 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygenum.h +9 -15
- pygobject-3.54.0/gi/pygflags.c +535 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygflags.h +8 -14
- pygobject-3.54.0/gi/pygi-argument.c +1237 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-argument.h +14 -22
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-array.c +257 -281
- pygobject-3.54.0/gi/pygi-array.h +35 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-async.c +161 -176
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-async.h +4 -6
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-basictype.c +286 -355
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-basictype.h +18 -23
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-boxed.c +36 -43
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-boxed.h +4 -6
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-cache.c +296 -421
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-cache.h +94 -143
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-ccallback.c +26 -29
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-ccallback.h +3 -5
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-closure.c +371 -383
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-closure.h +11 -15
- pygobject-3.54.0/gi/pygi-enum-marshal.c +347 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-enum-marshal.h +6 -10
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-error.c +62 -88
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-error.h +8 -10
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-foreign-api.h +17 -23
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-foreign-cairo.c +131 -187
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-foreign.c +20 -28
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-foreign.h +9 -12
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-fundamental.c +70 -70
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-fundamental.h +10 -10
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-hashtable.c +76 -115
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-hashtable.h +4 -5
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-info.c +861 -623
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-info.h +6 -5
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-invoke-state-struct.h +2 -4
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-invoke.c +242 -269
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-invoke.h +7 -7
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-list.c +87 -134
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-list.h +5 -6
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-marshal-cleanup.c +51 -66
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-marshal-cleanup.h +11 -12
- pygobject-3.54.0/gi/pygi-object.c +375 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-object.h +15 -16
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-property.c +153 -148
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-property.h +5 -13
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-repository.c +119 -96
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-repository.h +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-resulttuple.c +47 -43
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-resulttuple.h +3 -6
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-signal-closure.c +86 -87
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-signal-closure.h +4 -9
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-source.c +87 -91
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-source.h +0 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-struct-marshal.c +141 -181
- pygobject-3.54.0/gi/pygi-struct-marshal.h +61 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-struct.c +50 -60
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-struct.h +5 -9
- pygobject-3.54.0/gi/pygi-type.c +1367 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-type.h +16 -16
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygi-util.c +40 -27
- pygobject-3.54.0/gi/pygi-util.h +59 -0
- pygobject-3.54.0/gi/pygi-value.c +953 -0
- pygobject-3.54.0/gi/pygi-value.h +50 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pyginterface.c +32 -34
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pyginterface.h +6 -9
- pygobject-3.54.0/gi/pygobject-object.c +2550 -0
- pygobject-3.54.0/gi/pygobject-object.h +52 -0
- pygobject-3.54.0/gi/pygobject.h +629 -0
- pygobject-3.54.0/gi/pygoptioncontext.c +369 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygoptioncontext.h +2 -2
- pygobject-3.54.0/gi/pygoptiongroup.c +293 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygoptiongroup.h +3 -5
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygpointer.c +49 -55
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygpointer.h +5 -5
- pygobject-3.54.0/gi/pygspawn.c +290 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygspawn.h +4 -4
- pygobject-3.54.0/gi/pygtkcompat.py +13 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/repository/__init__.py +1 -4
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/types.py +56 -56
- {pygobject-3.52.2 → pygobject-3.54.0}/meson.build +1 -2
- {pygobject-3.52.2 → pygobject-3.54.0}/pygobject.doap +1 -1
- pygobject-3.54.0/pygtkcompat/__init__.py +4 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/pygtkcompat/pygtkcompat.py +4 -6
- {pygobject-3.52.2 → pygobject-3.54.0}/pyproject.toml +42 -2
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/.gitlab-ci.yml +3 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/gimarshallingtests.c +57 -2
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/gimarshallingtests.h +9 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/regress.c +97 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/regress.h +39 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests.wrap +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/.github/workflows/build.yml +34 -9
- pygobject-3.54.0/subprojects/pythoncapi-compat/.meson-subproject-wrap-hash.txt +1 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/docs/api.rst +177 -2
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/docs/changelog.rst +61 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/docs/users.rst +4 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/pythoncapi_compat.h +697 -12
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/runtests.py +0 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/tests/setup.py +39 -38
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/tests/test_pythoncapi_compat.py +14 -3
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/tests/test_pythoncapi_compat_cext.c +323 -8
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/upgrade_pythoncapi.py +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat.wrap +1 -1
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/conftest.py +36 -32
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/gi/overrides/Regress.py +3 -6
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/gi/overrides/__init__.py +1 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/helper.py +16 -22
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/meson.build +3 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test-floating.c +16 -14
- pygobject-3.54.0/tests/test-floating.h +102 -0
- pygobject-3.54.0/tests/test-thread.c +62 -0
- pygobject-3.54.0/tests/test-thread.h +26 -0
- pygobject-3.54.0/tests/test-unknown.c +106 -0
- pygobject-3.54.0/tests/test-unknown.h +48 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_async.py +20 -20
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_atoms.py +20 -18
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_cairo.py +41 -36
- pygobject-3.54.0/tests/test_callback.py +80 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_docstring.py +58 -42
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_enum.py +16 -8
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_error.py +19 -24
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_events.py +91 -22
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_everything.py +359 -345
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_fields.py +5 -11
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_fundamental.py +25 -17
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_gdbus.py +176 -126
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_gi.py +1029 -580
- pygobject-3.54.0/tests/test_gio.py +443 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_glib.py +75 -55
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_gobject.py +140 -97
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_gtk_template.py +116 -107
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_gtype.py +11 -9
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_import_machinery.py +33 -23
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_interface.py +0 -3
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_internal_api.py +30 -26
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_iochannel.py +136 -119
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_mainloop.py +1 -4
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_object_marshaling.py +107 -44
- pygobject-3.54.0/tests/test_option.py +161 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_ossig.py +24 -23
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_overrides_gdk.py +60 -51
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_overrides_gdkpixbuf.py +16 -7
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_overrides_gio.py +46 -41
- pygobject-3.54.0/tests/test_overrides_glib.py +778 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_overrides_gobject.py +12 -20
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_overrides_gtk.py +877 -662
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_overrides_pango.py +5 -9
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_properties.py +568 -435
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_pycapi.py +2 -5
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_pygtkcompat.py +0 -3
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_repository.py +162 -110
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_resulttuple.py +3 -5
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_signal.py +453 -317
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_signature.py +9 -5
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_source.py +65 -46
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_subprocess.py +63 -39
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_thread.py +2 -4
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_typeclass.py +16 -19
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/test_unknown.py +6 -8
- pygobject-3.54.0/tests/testhelpermodule.c +810 -0
- pygobject-3.52.2/.flake8 +0 -3
- pygobject-3.52.2/.gitlab-ci/Dockerfile +0 -75
- pygobject-3.52.2/.gitlab-ci/set_env.sh +0 -7
- pygobject-3.52.2/.gitlab-ci/test-flatpak.sh +0 -26
- pygobject-3.52.2/.pre-commit-config.yaml +0 -12
- pygobject-3.52.2/docs/conf.py +0 -56
- pygobject-3.52.2/docs/icons.rst +0 -52
- pygobject-3.52.2/docs/tutorials/gtk4/controls/examples/button.py +0 -45
- pygobject-3.52.2/docs/tutorials/gtk4/controls/examples/check_radio_buttons.py +0 -55
- pygobject-3.52.2/docs/tutorials/gtk4/controls/examples/linkbutton.py +0 -25
- pygobject-3.52.2/docs/tutorials/gtk4/controls/examples/togglebutton.py +0 -39
- pygobject-3.52.2/docs/tutorials/gtk4/examples/layout_flowbox.py +0 -131
- pygobject-3.52.2/docs/tutorials/gtk4/examples/layout_notebook.py +0 -32
- pygobject-3.52.2/gi/_constants.py +0 -47
- pygobject-3.52.2/gi/gimodule.c +0 -2495
- pygobject-3.52.2/gi/gimodule.h +0 -17
- pygobject-3.52.2/gi/pygenum.c +0 -503
- pygobject-3.52.2/gi/pygflags.c +0 -526
- pygobject-3.52.2/gi/pygi-argument.c +0 -1214
- pygobject-3.52.2/gi/pygi-array.h +0 -43
- pygobject-3.52.2/gi/pygi-enum-marshal.c +0 -377
- pygobject-3.52.2/gi/pygi-object.c +0 -393
- pygobject-3.52.2/gi/pygi-struct-marshal.h +0 -69
- pygobject-3.52.2/gi/pygi-type.c +0 -1377
- pygobject-3.52.2/gi/pygi-util.h +0 -56
- pygobject-3.52.2/gi/pygi-value.c +0 -960
- pygobject-3.52.2/gi/pygi-value.h +0 -52
- pygobject-3.52.2/gi/pygobject-object.c +0 -2556
- pygobject-3.52.2/gi/pygobject-object.h +0 -53
- pygobject-3.52.2/gi/pygobject.h +0 -626
- pygobject-3.52.2/gi/pygoptioncontext.c +0 -373
- pygobject-3.52.2/gi/pygoptiongroup.c +0 -305
- pygobject-3.52.2/gi/pygspawn.c +0 -292
- pygobject-3.52.2/gi/pygtkcompat.py +0 -12
- pygobject-3.52.2/pygtkcompat/__init__.py +0 -6
- pygobject-3.52.2/subprojects/pythoncapi-compat/.meson-subproject-wrap-hash.txt +0 -1
- pygobject-3.52.2/tests/test-floating.h +0 -81
- pygobject-3.52.2/tests/test-thread.c +0 -63
- pygobject-3.52.2/tests/test-thread.h +0 -22
- pygobject-3.52.2/tests/test-unknown.c +0 -113
- pygobject-3.52.2/tests/test-unknown.h +0 -40
- pygobject-3.52.2/tests/test_gio.py +0 -342
- pygobject-3.52.2/tests/test_option.py +0 -131
- pygobject-3.52.2/tests/test_overrides_glib.py +0 -724
- pygobject-3.52.2/tests/testhelpermodule.c +0 -809
- {pygobject-3.52.2 → pygobject-3.54.0}/.coveragerc +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/.gitlab-ci/README.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/.gitlab-ci/build-sdists.sh +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/.gitlab-ci/run-docker-runtime.sh +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/.gitlab-ci/run-docker.sh +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/.gitlab-ci/test-docker.sh +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/.gitlab-ci/test-msys2.sh +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/README.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/bugs_repo.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/changelog.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/contact.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/devguide/maintguide.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/devguide/packagingguide.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/extra.css +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/api/api.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/api/error_handling.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/api/flags_enums.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/api/index.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/api/weakrefs.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/asynchronous.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/cairo_integration.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/debug_profile.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/deploy.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/faq.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/gtk_template.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/images/cairo_integration.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/porting.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/sysdeps.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/guide/testing.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/LICENSE +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/favicon.ico +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/logo.svg +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/overview-dark.svg +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/overview.dia +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/overview.svg +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/pygobject-dark.svg +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/pygobject-small.svg +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/pygobject.svg +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/start_linux.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/start_macos.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/images/start_windows.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/index.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/_static/custom.css +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gobject/interfaces.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gobject.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk3.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/application.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/basics.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/clipboard.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/buttons.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/check-radio-buttons.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/images/button.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/images/check_radio_buttons.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/images/dropdown.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/images/entries.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/images/linkbutton.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/images/spinbutton.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/images/switch.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/images/togglebutton.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/scale.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/spinbutton.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls/switch.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/controls.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/image.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/images/label.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/images/picture.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/images/progressbar.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/images/spinner.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/images/spinner_ext.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/label.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/progressbar.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets/spinner.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/display-widgets.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/drag-and-drop.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/application.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/basic_example.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/clipboard.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/drag_and_drop.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/extended_example.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/layout_box.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/layout_center.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/layout_flowbox.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/layout_grid.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/layout_headerbar.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/layout_listbox.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/layout_notebook.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/layout_stack.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/popover.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/popover_menu.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/images/textview.png +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/layout-widgets.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/popovers.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4/textview.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/docs/tutorials/gtk4.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/meson.build +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/overrides/meson.build +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/pygobject-internal.h +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/gi/repository/meson.build +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/meson_options.txt +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/pygobject-3.0.pc.in +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/pygtkcompat/meson.build +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/glib.wrap +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/.clang-format +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/.editorconfig +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/.reuse/dep5 +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/LICENSES/CC0-1.0.txt +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/LICENSES/GPL-2.0-or-later.txt +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/LICENSES/LGPL-2.0-or-later.txt +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/LICENSES/LGPL-2.1-or-later.txt +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/LICENSES/MIT.txt +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/README.md +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/annotation.c +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/annotation.h +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/docs/provenance.txt +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/drawable.c +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/drawable.h +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/foo.c +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/foo.h +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/gimarshallingtestsextra.c +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/gimarshallingtestsextra.h +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/gitestmacros.h +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/gobject-introspection-tests.doap +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/meson.build +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/meson_options.txt +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/regress-unix.c +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/regress-unix.h +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/regressextra.c +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/regressextra.h +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/tools/iwyu.imp +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/tools/run_clang_format.sh +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/tools/run_iwyu.sh +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/utility.c +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/utility.h +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/warnlib.c +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection-tests/warnlib.h +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/gobject-introspection.wrap +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/libffi.wrap +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/packagefiles/pythoncapi-compat-dist.py +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/packagefiles/pythoncapi-compat-meson.diff +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pycairo.wrap +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/.gitignore +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/.readthedocs.yaml +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/CODE_OF_CONDUCT.md +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/COPYING +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/README.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/docs/Makefile +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/docs/conf.py +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/docs/index.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/docs/links.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/docs/make.bat +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/docs/tests.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/docs/upgrade.rst +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/meson.build +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/tests/__init__.py +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/tests/test_pythoncapi_compat_cppext.cpp +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/tests/test_upgrade_pythoncapi.py +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/subprojects/pythoncapi-compat/tests/utils.py +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/org.gnome.test.gschema.xml +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/tests/valgrind.supp +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/tools/mkmetadata.py +0 -0
- {pygobject-3.52.2 → pygobject-3.54.0}/tools/pygi-convert.sh +0 -0
|
@@ -67,12 +67,12 @@ ColumnLimit: 79
|
|
|
67
67
|
CompactNamespaces: false
|
|
68
68
|
ConstructorInitializerIndentWidth: 4
|
|
69
69
|
ContinuationIndentWidth: 4
|
|
70
|
-
Cpp11BracedListStyle:
|
|
70
|
+
Cpp11BracedListStyle: false
|
|
71
71
|
DerivePointerAlignment: true
|
|
72
72
|
EmptyLineAfterAccessModifier: Never
|
|
73
73
|
EmptyLineBeforeAccessModifier: LogicalBlock
|
|
74
74
|
FixNamespaceComments: true
|
|
75
|
-
IncludeBlocks:
|
|
75
|
+
IncludeBlocks: Preserve
|
|
76
76
|
IncludeCategories:
|
|
77
77
|
- Regex: '^[<"]Python\.h[">]$'
|
|
78
78
|
Priority: 2
|
|
@@ -153,7 +153,7 @@ RequiresExpressionIndentation: OuterScope
|
|
|
153
153
|
SeparateDefinitionBlocks: Leave
|
|
154
154
|
ShortNamespaceLines: 1
|
|
155
155
|
SkipMacroDefinitionBody: false
|
|
156
|
-
SortIncludes:
|
|
156
|
+
SortIncludes: Never
|
|
157
157
|
SortUsingDeclarations: LexicographicNumeric
|
|
158
158
|
SpaceAfterCStyleCast: false
|
|
159
159
|
SpaceAfterLogicalNot: false
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
ARG BASE=python:3
|
|
2
|
+
|
|
3
|
+
FROM docker.io/library/$BASE
|
|
4
|
+
|
|
5
|
+
ENV DEBIAN_FRONTEND=noninteractive
|
|
6
|
+
|
|
7
|
+
RUN apt-get update && apt-get install -y \
|
|
8
|
+
build-essential \
|
|
9
|
+
ccache \
|
|
10
|
+
curl \
|
|
11
|
+
dbus \
|
|
12
|
+
gir1.2-freedesktop-dev \
|
|
13
|
+
gir1.2-girepository-3.0-dev \
|
|
14
|
+
gir1.2-gtk-3.0 \
|
|
15
|
+
gir1.2-gtk-4.0 \
|
|
16
|
+
git \
|
|
17
|
+
gobject-introspection \
|
|
18
|
+
lcov \
|
|
19
|
+
libbz2-dev \
|
|
20
|
+
libcairo2-dev \
|
|
21
|
+
libffi-dev \
|
|
22
|
+
libgirepository-2.0-dev \
|
|
23
|
+
libglib2.0-dev \
|
|
24
|
+
libgtk-3-0 \
|
|
25
|
+
libgtk-4-1 \
|
|
26
|
+
libreadline-dev \
|
|
27
|
+
libsqlite3-dev \
|
|
28
|
+
libssl-dev \
|
|
29
|
+
liblzma-dev \
|
|
30
|
+
ninja-build \
|
|
31
|
+
python3-pip \
|
|
32
|
+
sudo \
|
|
33
|
+
xauth \
|
|
34
|
+
xvfb \
|
|
35
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
36
|
+
|
|
37
|
+
ARG HOST_USER_ID=5555
|
|
38
|
+
ENV HOST_USER_ID=${HOST_USER_ID}
|
|
39
|
+
RUN useradd -u $HOST_USER_ID -ms /bin/bash user \
|
|
40
|
+
&& echo 'user ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
|
41
|
+
|
|
42
|
+
USER user
|
|
43
|
+
WORKDIR /home/user
|
|
44
|
+
|
|
45
|
+
ENV LANG=C.UTF-8
|
|
46
|
+
ENV CI=true
|
|
47
|
+
|
|
48
|
+
ENV PATH="/usr/lib/ccache:${PATH}"
|
|
@@ -8,6 +8,8 @@ python ./.gitlab-ci/fixup-lcov-paths.py coverage/*.lcov
|
|
|
8
8
|
# Remove external headers (except gi tests)
|
|
9
9
|
for path in coverage/*.lcov; do
|
|
10
10
|
lcov --config-file .gitlab-ci/lcovrc -r "${path}" '/usr/include/*' -o "${path}"
|
|
11
|
+
lcov --config-file .gitlab-ci/lcovrc -r "${path}" '/usr/local/include/*' -o "${path}"
|
|
12
|
+
lcov --config-file .gitlab-ci/lcovrc -r "${path}" '/opt/pypy/include/*' -o "${path}"
|
|
11
13
|
lcov --config-file .gitlab-ci/lcovrc -r "${path}" '/home/*' -o "${path}"
|
|
12
14
|
lcov --config-file .gitlab-ci/lcovrc -r "${path}" '*/msys64/*' -o "${path}"
|
|
13
15
|
lcov --config-file .gitlab-ci/lcovrc -r "${path}" '*site-packages/*' -o "${path}"
|
|
@@ -9,8 +9,8 @@ def main(argv):
|
|
|
9
9
|
paths = argv[1:]
|
|
10
10
|
|
|
11
11
|
for path in paths:
|
|
12
|
-
print("cov-fixup:
|
|
13
|
-
with open(path,
|
|
12
|
+
print(f"cov-fixup: {path}")
|
|
13
|
+
with open(path, encoding="utf-8") as h:
|
|
14
14
|
text = h.read()
|
|
15
15
|
|
|
16
16
|
text = text.replace("\\\\", "/").replace("\\", "/")
|
|
@@ -24,16 +24,16 @@ def main(argv):
|
|
|
24
24
|
p = os.path.join(new_root, p)
|
|
25
25
|
return "SF:" + p
|
|
26
26
|
|
|
27
|
-
text = re.sub("SF:(.*?)$", make_abs, text, 0, re.MULTILINE)
|
|
27
|
+
text = re.sub(r"SF:(.*?)$", make_abs, text, 0, re.MULTILINE)
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
for old_root in set(re.findall(":(.*?)/gi/.*?$", text, re.MULTILINE)):
|
|
31
|
-
if
|
|
32
|
-
|
|
29
|
+
candidate = None
|
|
30
|
+
for old_root in set(re.findall(r":(.*?)/gi/.*?$", text, re.MULTILINE)):
|
|
31
|
+
if candidate is None or len(old_root) < len(candidate):
|
|
32
|
+
candidate = old_root
|
|
33
33
|
|
|
34
|
-
if
|
|
35
|
-
print("replacing
|
|
36
|
-
text = text.replace(
|
|
34
|
+
if candidate:
|
|
35
|
+
print(f"replacing {candidate} with {new_root}")
|
|
36
|
+
text = text.replace(candidate, new_root)
|
|
37
37
|
|
|
38
38
|
with open(path, "w", encoding="utf-8") as h:
|
|
39
39
|
h.write(text)
|
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
# See http://ltp.sourceforge.net/coverage/lcov/lcovrc.5.php
|
|
3
3
|
|
|
4
4
|
# Always enable branch coverage
|
|
5
|
-
|
|
5
|
+
branch_coverage = 1
|
|
6
6
|
|
|
7
7
|
stop_on_error = 0
|
|
8
8
|
|
|
9
|
+
ignore_errors = inconsistent,unused,empty
|
|
10
|
+
|
|
11
|
+
check_data_consistency = 0
|
|
12
|
+
|
|
9
13
|
# Exclude precondition assertions, as we can never reasonably get full branch
|
|
10
14
|
# coverage of them, as they should never normally fail.
|
|
11
15
|
# See https://github.com/linux-test-project/lcov/issues/44
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
app-id: org.gnome.PyGObject.Devel
|
|
2
|
+
runtime: org.gnome.Sdk
|
|
3
|
+
runtime-version: master
|
|
4
|
+
sdk: org.gnome.Sdk
|
|
5
|
+
build-options:
|
|
6
|
+
build-args:
|
|
7
|
+
- '--share=network'
|
|
8
|
+
test-args:
|
|
9
|
+
- '--socket=x11'
|
|
10
|
+
- '--share=network'
|
|
11
|
+
env:
|
|
12
|
+
PYTEST_ADDOPTS: '-vs --cov'
|
|
13
|
+
TEST_GTK_VERSION: '3.0'
|
|
14
|
+
modules:
|
|
15
|
+
- name: dependencies
|
|
16
|
+
buildsystem: simple
|
|
17
|
+
build-commands:
|
|
18
|
+
- python3 --version
|
|
19
|
+
- echo "GTK VERSION ${TEST_GTK_VERSION}"
|
|
20
|
+
- pip3 install --prefix=${FLATPAK_DEST} pycairo pytest pytest-cov
|
|
21
|
+
- name: pygobject
|
|
22
|
+
buildsystem: meson
|
|
23
|
+
builddir: true
|
|
24
|
+
config-opts:
|
|
25
|
+
- '-Dtests=true'
|
|
26
|
+
sources:
|
|
27
|
+
- type: dir
|
|
28
|
+
path: ..
|
|
29
|
+
run-tests: true
|
|
30
|
+
test-rule: ''
|
|
31
|
+
test-commands:
|
|
32
|
+
# Remove vala-nightly, since it contains an incompatible version of libdbus
|
|
33
|
+
- >-
|
|
34
|
+
LD_LIBRARY_PATH=$(echo $LD_LIBRARY_PATH | sed s/vala-nightly/foobar/)
|
|
35
|
+
meson test -v
|
|
36
|
+
- cd .. && python3 -m coverage lcov -o "coverage/flatpak-${TEST_GTK_VERSION}.py.lcov"
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
set -e
|
|
4
|
+
|
|
5
|
+
sed -i "/TEST_GTK_VERSION:/s/'.*'/'${TEST_GTK_VERSION:-3.0}'/" .gitlab-ci/org.gnome.PyGObject.Devel.yaml
|
|
6
|
+
xvfb-run -a flatpak-builder --user --keep-build-dirs --verbose --disable-rofiles-fuse flatpak_ci .gitlab-ci/org.gnome.PyGObject.Devel.yaml
|
|
7
|
+
|
|
8
|
+
mv .flatpak-builder/build/pygobject/coverage .
|
|
9
|
+
chmod -R 777 coverage
|
|
@@ -1,51 +1,102 @@
|
|
|
1
|
+
spec:
|
|
2
|
+
inputs:
|
|
3
|
+
python_versions:
|
|
4
|
+
type: array
|
|
5
|
+
default:
|
|
6
|
+
- "python-3.9"
|
|
7
|
+
- "python-3.10"
|
|
8
|
+
- "python-3.11"
|
|
9
|
+
- "python-3.12"
|
|
10
|
+
- "python-3.13"
|
|
11
|
+
- "python-3.14.0rc2"
|
|
12
|
+
- "pypy-3.11"
|
|
13
|
+
default_version:
|
|
14
|
+
default: "python-3.13"
|
|
15
|
+
build_images:
|
|
16
|
+
options: ["never", "always"]
|
|
17
|
+
default: "never"
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
1
21
|
include:
|
|
2
22
|
- component: gitlab.gnome.org/GNOME/citemplates/release-service@master
|
|
3
23
|
inputs:
|
|
4
24
|
dist-job-name: "sdist"
|
|
5
25
|
tarball-artifact-path: "${TARBALL_ARTIFACT_PATH}"
|
|
6
|
-
|
|
26
|
+
|
|
7
27
|
stages:
|
|
28
|
+
- images
|
|
8
29
|
- pre-commit
|
|
9
|
-
-
|
|
30
|
+
- build
|
|
10
31
|
- coverage
|
|
32
|
+
- documentation
|
|
33
|
+
- build-release
|
|
11
34
|
- deploy
|
|
12
35
|
|
|
13
36
|
variables:
|
|
37
|
+
REGISTRY: registry.gitlab.gnome.org/gnome/pygobject
|
|
38
|
+
CI_IMAGE: registry.gitlab.gnome.org/gnome/pygobject/ci
|
|
14
39
|
TARBALL_ARTIFACT_PATH: "dist/${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.gz"
|
|
15
40
|
|
|
41
|
+
# Normal build whenever Dockerfile has not changed
|
|
16
42
|
default:
|
|
17
|
-
|
|
43
|
+
interruptible: true
|
|
18
44
|
cache:
|
|
19
45
|
paths:
|
|
20
46
|
- _ccache/
|
|
21
47
|
|
|
48
|
+
|
|
49
|
+
# Build images if Dockerfile has changed
|
|
50
|
+
build-image:
|
|
51
|
+
stage: images
|
|
52
|
+
image: quay.io/buildah/stable:latest
|
|
53
|
+
rules:
|
|
54
|
+
- if: $CI_PROJECT_NAMESPACE == "GNOME" && $CI_COMMIT_BRANCH == "main"
|
|
55
|
+
changes:
|
|
56
|
+
- ".gitlab-ci.yml"
|
|
57
|
+
- ".gitlab-ci/Dockerfile"
|
|
58
|
+
when: always
|
|
59
|
+
- when: $[[ inputs.build_images ]]
|
|
60
|
+
variables:
|
|
61
|
+
STORAGE_DRIVER: vfs
|
|
62
|
+
BUILDAH_ISOLATION: chroot
|
|
63
|
+
parallel:
|
|
64
|
+
matrix:
|
|
65
|
+
- IMAGE_TAG: $[[ inputs.python_versions ]]
|
|
66
|
+
script:
|
|
67
|
+
- echo "$CI_REGISTRY_PASSWORD" | buildah login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin
|
|
68
|
+
- IMG="$CI_IMAGE:$IMAGE_TAG"
|
|
69
|
+
- echo "Building image '$IMG'"
|
|
70
|
+
- buildah build --build-arg BASE=${IMAGE_TAG/-/:} -t $IMG -f Dockerfile .gitlab-ci
|
|
71
|
+
- buildah push $IMG
|
|
72
|
+
cache:
|
|
73
|
+
paths:
|
|
74
|
+
|
|
22
75
|
pre-commit:
|
|
23
76
|
stage: pre-commit
|
|
77
|
+
image: $CI_IMAGE:$[[ inputs.default_version ]]
|
|
24
78
|
variables:
|
|
25
|
-
PYTHON_VERSION: "3.13"
|
|
26
79
|
XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
|
|
27
80
|
script:
|
|
28
81
|
- git config --global --add safe.directory "$CI_PROJECT_DIR"
|
|
29
|
-
- python -m pip install -q pre-commit
|
|
30
|
-
- python -m pre_commit run --all-files
|
|
82
|
+
- python -m pip install -q --no-warn-script-location pre-commit
|
|
83
|
+
- python -m pre_commit run --verbose --all-files
|
|
31
84
|
artifacts:
|
|
32
85
|
when: on_failure
|
|
33
86
|
paths:
|
|
34
87
|
- .cache/pre-commit/pre-commit.log
|
|
88
|
+
cache:
|
|
89
|
+
paths:
|
|
90
|
+
- .cache
|
|
35
91
|
|
|
36
92
|
linux:
|
|
37
|
-
stage:
|
|
93
|
+
stage: build
|
|
94
|
+
image: $CI_IMAGE:$IMAGE_TAG
|
|
38
95
|
parallel:
|
|
39
96
|
matrix:
|
|
40
|
-
-
|
|
41
|
-
- "3.9"
|
|
42
|
-
- "3.10"
|
|
43
|
-
- "3.11"
|
|
44
|
-
- "3.12"
|
|
45
|
-
- "3.13"
|
|
46
|
-
- "pypy3"
|
|
97
|
+
- IMAGE_TAG: $[[ inputs.python_versions ]]
|
|
47
98
|
TEST_GTK_VERSION: "3.0"
|
|
48
|
-
-
|
|
99
|
+
- IMAGE_TAG: $[[ inputs.default_version ]]
|
|
49
100
|
TEST_GTK_VERSION: "4.0"
|
|
50
101
|
artifacts:
|
|
51
102
|
when: always
|
|
@@ -58,7 +109,7 @@ linux:
|
|
|
58
109
|
- bash -x ./.gitlab-ci/test-docker.sh
|
|
59
110
|
|
|
60
111
|
windows:
|
|
61
|
-
stage:
|
|
112
|
+
stage: build
|
|
62
113
|
tags:
|
|
63
114
|
- win32-ps
|
|
64
115
|
parallel:
|
|
@@ -79,19 +130,57 @@ windows:
|
|
|
79
130
|
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu
|
|
80
131
|
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
|
|
81
132
|
|
|
133
|
+
gnome-master:
|
|
134
|
+
stage: build
|
|
135
|
+
image: quay.io/gnome_infrastructure/gnome-runtime-images:gnome-master
|
|
136
|
+
tags:
|
|
137
|
+
- flatpak
|
|
138
|
+
parallel:
|
|
139
|
+
matrix:
|
|
140
|
+
- TEST_GTK_VERSION:
|
|
141
|
+
- "3.0"
|
|
142
|
+
- "4.0"
|
|
143
|
+
artifacts:
|
|
144
|
+
paths:
|
|
145
|
+
- coverage/
|
|
146
|
+
script:
|
|
147
|
+
- bash -x ./.gitlab-ci/test-flatpak.sh
|
|
148
|
+
|
|
149
|
+
linux-pdm:
|
|
150
|
+
stage: build
|
|
151
|
+
image: $CI_IMAGE:$[[ inputs.default_version ]]
|
|
152
|
+
variables:
|
|
153
|
+
TEST_GTK_VERSION: "3.0"
|
|
154
|
+
before_script:
|
|
155
|
+
- python -m pip install "pdm!=2.17.3"
|
|
156
|
+
- python -m pdm install -v
|
|
157
|
+
script:
|
|
158
|
+
- xvfb-run -a python -m pdm run pytest
|
|
159
|
+
|
|
160
|
+
minimal-meson:
|
|
161
|
+
allow_failure: true
|
|
162
|
+
stage: build
|
|
163
|
+
image: quay.io/fedora/fedora:40
|
|
164
|
+
before_script:
|
|
165
|
+
- dnf install --assumeyes gcc meson git flex bison diffutils python3-devel python3-pytest gobject-introspection-devel
|
|
166
|
+
script:
|
|
167
|
+
- meson setup _build
|
|
168
|
+
- meson compile -C _build
|
|
169
|
+
- PYTEST_ADDOPTS="-sv -k 'not test_cairo'" meson test -C _build --suite pygobject --verbose
|
|
170
|
+
|
|
82
171
|
coverage:
|
|
83
172
|
stage: coverage
|
|
173
|
+
image: $CI_IMAGE:$[[ inputs.default_version ]]
|
|
84
174
|
artifacts:
|
|
85
175
|
paths:
|
|
86
176
|
- coverage/
|
|
87
|
-
variables:
|
|
88
|
-
PYTHON_VERSION: "3.9"
|
|
89
177
|
script:
|
|
90
178
|
- bash -x ./.gitlab-ci/coverage-docker.sh
|
|
91
179
|
coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'
|
|
92
180
|
|
|
93
181
|
pages:
|
|
94
|
-
stage:
|
|
182
|
+
stage: documentation
|
|
183
|
+
image: $CI_IMAGE:$[[ inputs.default_version ]]
|
|
95
184
|
dependencies:
|
|
96
185
|
- coverage
|
|
97
186
|
before_script:
|
|
@@ -109,48 +198,11 @@ pages:
|
|
|
109
198
|
- if: $CI_COMMIT_TAG
|
|
110
199
|
|
|
111
200
|
sdist:
|
|
112
|
-
stage:
|
|
201
|
+
stage: build-release
|
|
202
|
+
image: $CI_IMAGE:$[[ inputs.default_version ]]
|
|
113
203
|
artifacts:
|
|
114
204
|
paths:
|
|
115
205
|
- dist/
|
|
116
206
|
script:
|
|
117
207
|
- git config --global --add safe.directory "$CI_PROJECT_DIR"
|
|
118
208
|
- bash -x ./.gitlab-ci/build-sdists.sh
|
|
119
|
-
|
|
120
|
-
gnome-master:
|
|
121
|
-
stage: build_and_test
|
|
122
|
-
image: quay.io/gnome_infrastructure/gnome-runtime-images:gnome-master
|
|
123
|
-
tags:
|
|
124
|
-
- flatpak
|
|
125
|
-
parallel:
|
|
126
|
-
matrix:
|
|
127
|
-
- TEST_GTK_VERSION:
|
|
128
|
-
- "3.0"
|
|
129
|
-
- "4.0"
|
|
130
|
-
artifacts:
|
|
131
|
-
paths:
|
|
132
|
-
- coverage/
|
|
133
|
-
script:
|
|
134
|
-
- bash -x ./.gitlab-ci/test-flatpak.sh
|
|
135
|
-
|
|
136
|
-
python3.12-pdm:
|
|
137
|
-
stage: build_and_test
|
|
138
|
-
variables:
|
|
139
|
-
PYTHON_VERSION: "3.12"
|
|
140
|
-
TEST_GTK_VERSION: "3.0"
|
|
141
|
-
before_script:
|
|
142
|
-
- python -m pip install "pdm!=2.17.3"
|
|
143
|
-
- python -m pdm install -v
|
|
144
|
-
script:
|
|
145
|
-
- xvfb-run -a python -m pdm run pytest
|
|
146
|
-
|
|
147
|
-
minimal-meson:
|
|
148
|
-
allow_failure: true
|
|
149
|
-
stage: build_and_test
|
|
150
|
-
image: quay.io/fedora/fedora:40
|
|
151
|
-
before_script:
|
|
152
|
-
- dnf install --assumeyes gcc meson git flex bison diffutils python3-devel python3-pytest gobject-introspection-devel
|
|
153
|
-
script:
|
|
154
|
-
- meson setup _build
|
|
155
|
-
- meson compile -C _build
|
|
156
|
-
- PYTEST_ADDOPTS="-sv -k 'not test_cairo'" meson test -C _build --suite pygobject --verbose
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# This is a configuration file for the pre-commit tool.
|
|
2
|
+
# Documentation is available at https://pre-commit.com/#plugins
|
|
3
|
+
|
|
4
|
+
repos:
|
|
5
|
+
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
6
|
+
rev: v0.10.0.1
|
|
7
|
+
hooks:
|
|
8
|
+
- id: shellcheck
|
|
9
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
10
|
+
rev: 'v0.12.4'
|
|
11
|
+
hooks:
|
|
12
|
+
- id: ruff
|
|
13
|
+
args: [--fix, --preview]
|
|
14
|
+
- id: ruff-format
|
|
15
|
+
types_or: [python, spec]
|
|
16
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
17
|
+
rev: v5.0.0
|
|
18
|
+
hooks:
|
|
19
|
+
- id: trailing-whitespace
|
|
20
|
+
- id: check-toml
|
|
21
|
+
- id: check-yaml
|
|
22
|
+
args: [--allow-multiple-documents]
|
|
23
|
+
- repo: https://github.com/pre-commit/mirrors-clang-format
|
|
24
|
+
rev: v20.1.8
|
|
25
|
+
hooks:
|
|
26
|
+
- id: clang-format
|
|
@@ -55,7 +55,7 @@ modified by someone else and passed on, the recipients should know
|
|
|
55
55
|
that what they have is not the original version, so that the original
|
|
56
56
|
author's reputation will not be affected by problems that might be
|
|
57
57
|
introduced by others.
|
|
58
|
-
|
|
58
|
+
|
|
59
59
|
Finally, software patents pose a constant threat to the existence of
|
|
60
60
|
any free program. We wish to make sure that a company cannot
|
|
61
61
|
effectively restrict the users of a free program by obtaining a
|
|
@@ -111,7 +111,7 @@ modification follow. Pay close attention to the difference between a
|
|
|
111
111
|
"work based on the library" and a "work that uses the library". The
|
|
112
112
|
former contains code derived from the library, whereas the latter must
|
|
113
113
|
be combined with the library in order to run.
|
|
114
|
-
|
|
114
|
+
|
|
115
115
|
GNU LESSER GENERAL PUBLIC LICENSE
|
|
116
116
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
117
117
|
|
|
@@ -146,7 +146,7 @@ such a program is covered only if its contents constitute a work based
|
|
|
146
146
|
on the Library (independent of the use of the Library in a tool for
|
|
147
147
|
writing it). Whether that is true depends on what the Library does
|
|
148
148
|
and what the program that uses the Library does.
|
|
149
|
-
|
|
149
|
+
|
|
150
150
|
1. You may copy and distribute verbatim copies of the Library's
|
|
151
151
|
complete source code as you receive it, in any medium, provided that
|
|
152
152
|
you conspicuously and appropriately publish on each copy an
|
|
@@ -158,7 +158,7 @@ Library.
|
|
|
158
158
|
You may charge a fee for the physical act of transferring a copy,
|
|
159
159
|
and you may at your option offer warranty protection in exchange for a
|
|
160
160
|
fee.
|
|
161
|
-
|
|
161
|
+
|
|
162
162
|
2. You may modify your copy or copies of the Library or any portion
|
|
163
163
|
of it, thus forming a work based on the Library, and copy and
|
|
164
164
|
distribute such modifications or work under the terms of Section 1
|
|
@@ -216,7 +216,7 @@ instead of to this License. (If a newer version than version 2 of the
|
|
|
216
216
|
ordinary GNU General Public License has appeared, then you can specify
|
|
217
217
|
that version instead if you wish.) Do not make any other change in
|
|
218
218
|
these notices.
|
|
219
|
-
|
|
219
|
+
|
|
220
220
|
Once this change is made in a given copy, it is irreversible for
|
|
221
221
|
that copy, so the ordinary GNU General Public License applies to all
|
|
222
222
|
subsequent copies and derivative works made from that copy.
|
|
@@ -267,7 +267,7 @@ Library will still fall under Section 6.)
|
|
|
267
267
|
distribute the object code for the work under the terms of Section 6.
|
|
268
268
|
Any executables containing that work also fall under Section 6,
|
|
269
269
|
whether or not they are linked directly with the Library itself.
|
|
270
|
-
|
|
270
|
+
|
|
271
271
|
6. As an exception to the Sections above, you may also combine or
|
|
272
272
|
link a "work that uses the Library" with the Library to produce a
|
|
273
273
|
work containing portions of the Library, and distribute that work
|
|
@@ -329,7 +329,7 @@ restrictions of other proprietary libraries that do not normally
|
|
|
329
329
|
accompany the operating system. Such a contradiction means you cannot
|
|
330
330
|
use both them and the Library together in an executable that you
|
|
331
331
|
distribute.
|
|
332
|
-
|
|
332
|
+
|
|
333
333
|
7. You may place library facilities that are a work based on the
|
|
334
334
|
Library side-by-side in a single library together with other library
|
|
335
335
|
facilities not covered by this License, and distribute such a combined
|
|
@@ -370,7 +370,7 @@ subject to these terms and conditions. You may not impose any further
|
|
|
370
370
|
restrictions on the recipients' exercise of the rights granted herein.
|
|
371
371
|
You are not responsible for enforcing compliance by third parties with
|
|
372
372
|
this License.
|
|
373
|
-
|
|
373
|
+
|
|
374
374
|
11. If, as a consequence of a court judgment or allegation of patent
|
|
375
375
|
infringement or for any other reason (not limited to patent issues),
|
|
376
376
|
conditions are imposed on you (whether by court order, agreement or
|
|
@@ -422,7 +422,7 @@ conditions either of that version or of any later version published by
|
|
|
422
422
|
the Free Software Foundation. If the Library does not specify a
|
|
423
423
|
license version number, you may choose any version ever published by
|
|
424
424
|
the Free Software Foundation.
|
|
425
|
-
|
|
425
|
+
|
|
426
426
|
14. If you wish to incorporate parts of the Library into other free
|
|
427
427
|
programs whose distribution conditions are incompatible with these,
|
|
428
428
|
write to the author to ask for permission. For software which is
|
|
@@ -456,7 +456,7 @@ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
|
|
456
456
|
DAMAGES.
|
|
457
457
|
|
|
458
458
|
END OF TERMS AND CONDITIONS
|
|
459
|
-
|
|
459
|
+
|
|
460
460
|
How to Apply These Terms to Your New Libraries
|
|
461
461
|
|
|
462
462
|
If you develop a new library, and you want it to be of the greatest
|
|
@@ -16,5 +16,5 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
16
16
|
Project-URL: Homepage, https://pygobject.gnome.org
|
|
17
17
|
Project-URL: Repository, https://gitlab.gnome.org/GNOME/pygobject.git
|
|
18
18
|
Project-URL: Changelog, https://gitlab.gnome.org/GNOME/pygobject/-/blob/main/NEWS
|
|
19
|
-
Requires-Python:
|
|
19
|
+
Requires-Python: >=3.9
|
|
20
20
|
|
|
@@ -1,3 +1,35 @@
|
|
|
1
|
+
3.54.0 - 2025-09-06
|
|
2
|
+
-------------------
|
|
3
|
+
|
|
4
|
+
* Fix compatibility with Python 3.14 :mr:`433`
|
|
5
|
+
* Add platform specific symbols back to Gio module :mr:`445`
|
|
6
|
+
* Include docs from old GNOME wiki :mr:`441`
|
|
7
|
+
* Add override for `GLib.MainContext.query()` :mr:`446`
|
|
8
|
+
* Fix optional inout parameter marshalling :mr:`447`
|
|
9
|
+
|
|
10
|
+
3.53.0 - 2025-08-27
|
|
11
|
+
-------------------
|
|
12
|
+
|
|
13
|
+
* Drop Python upper limit :mr:`418`
|
|
14
|
+
* Add `__enum|flags_values__` back to GEnum and GFlags :mr:`420`
|
|
15
|
+
* Fix asyncio event loop selector with Python 3.13 :mr:`421`
|
|
16
|
+
* Support `Gtk.Template` on sub-classed Python classes :mr:`199`
|
|
17
|
+
* Use GI Repository singleton if GLib >= 2.85 :mr:`427`
|
|
18
|
+
* Expose finish_func on function info to determine if a function can be used as awaitable :mr:`428`
|
|
19
|
+
* Documentation updates :mr:`424` :mr:`426` :mr:`429` :mr:`430`
|
|
20
|
+
* `ParamSpec` objects now return the expected enum type :mr:`432`
|
|
21
|
+
* Fix `Gio.ActionMap` override for `Gio.Application` :mr:`435`
|
|
22
|
+
* Fix regression for functions with multiple callbacks :mr:`436` :mr:`437`
|
|
23
|
+
* Cleanup: callable argument cache :mr:`438`
|
|
24
|
+
* Format Python and C code :mr:`386`
|
|
25
|
+
* Fix compatibility with GLib 2.84 :mr:`443`
|
|
26
|
+
* (chore) clean up array cache code :mr:`440`
|
|
27
|
+
|
|
28
|
+
3.52.3 - 2025-03-16
|
|
29
|
+
-------------------
|
|
30
|
+
|
|
31
|
+
* Remove invalid error check for gi_constant_info_get_value :mr:`417`
|
|
32
|
+
|
|
1
33
|
3.52.2 - 2025-03-12
|
|
2
34
|
-------------------
|
|
3
35
|
|
|
@@ -42,7 +74,7 @@ extra properties, such as `value_nicks` and `value_names`.
|
|
|
42
74
|
* Convenience API for Gdk.RGBA got GDK 4, similar to GDK 3 :mr:`351`
|
|
43
75
|
* Added a [pre-commit](https://pre-commit.com/) configuration :mr:`383`
|
|
44
76
|
* Use standard `enum` module for enums and flags in PyGObject :mr:`394`
|
|
45
|
-
* Added an option to skip [automatic initialization of GTK and GDK](https://pygobject.gnome.org/guide/imports.html) :mr:`368`
|
|
77
|
+
* Added an option to skip [automatic initialization of GTK and GDK](https://pygobject.gnome.org/guide/imports.html) :mr:`368`
|
|
46
78
|
* PyGObject is no longer automatically tested on i386 architecture :mr:`362`
|
|
47
79
|
* Fixed iterator protocol implementation for properties :mr:`392`
|
|
48
80
|
* Various code and documentation improvements :mr:`346` :mr:`348` :mr:`358`, a.o.
|
|
@@ -3403,7 +3435,7 @@ Documentation:
|
|
|
3403
3435
|
registered (Paul, :bzbug:`551056`)
|
|
3404
3436
|
* Fix typos breaking compilation (Frederic Peters :bzbug:`551212`)
|
|
3405
3437
|
* GFile load_contents methods chop data at first \0
|
|
3406
|
-
(Jonathan Matthew, :bzbug:`551059`)
|
|
3438
|
+
(Jonathan Matthew, :bzbug:`551059`)
|
|
3407
3439
|
|
|
3408
3440
|
2.15.4 - 2008-09-03
|
|
3409
3441
|
-------------------
|
|
@@ -3482,7 +3514,7 @@ Documentation:
|
|
|
3482
3514
|
|
|
3483
3515
|
* Add GIO bindings (Johan, Mario Tagliaretti, Thomas Leonard)
|
|
3484
3516
|
* Move codegen from PyGTK (Johan, Paul Pogonyshev, :bzbug:`542821`)
|
|
3485
|
-
* Add more variables to the .pc files (Damien Carbery, Paul,
|
|
3517
|
+
* Add more variables to the .pc files (Damien Carbery, Paul,
|
|
3486
3518
|
Dan Winship, :bzbug:`486876`)
|
|
3487
3519
|
* Add pyg_option_group_new to the public API (Johan)
|
|
3488
3520
|
* Add g_get_application_anme and g_get_progname (Sebastian Rittau)
|
|
@@ -3572,10 +3604,10 @@ Documentation:
|
|
|
3572
3604
|
|
|
3573
3605
|
* distutils build fixes (Cedric)
|
|
3574
3606
|
* documentation updates (John)
|
|
3575
|
-
* gobject.handler_block_by_func and friends now accept methods
|
|
3607
|
+
* gobject.handler_block_by_func and friends now accept methods
|
|
3576
3608
|
(Johan, Dima, :bzbug:`375589`)
|
|
3577
3609
|
* avoid truncating of gparamspec (Yevgen Muntyan, :bzbug:`353943`)
|
|
3578
|
-
* set __module__ on gobject derived types (Johan,
|
|
3610
|
+
* set __module__ on gobject derived types (Johan,
|
|
3579
3611
|
Osmo Salomaa, :bzbug:`376099`)
|
|
3580
3612
|
* Ensure exceptions are raised on errors in gobject.OptionGroup
|
|
3581
3613
|
(Johan, Laszlo Pandy, :bzbug:`364576`
|