head 1.2; access; symbols pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2026.05.10.21.17.35; author wiz; state dead; branches; next 1.1; commitid FHGe4lfM17Q2sjFG; 1.1 date 2026.01.06.08.41.40; author adam; state Exp; branches; next ; commitid lcsAkX5hPmeegjpG; desc @@ 1.2 log @py-gobject3: update to 3.56.3 3.56.3 - 2026-05-08 ------------------- * Fix crash when user_data is defined before callback :mr:`554` * Add missing msg argument to asyncio cancel() :mr:`541` * Fix potential buffer overflow errors :mr:`540` * Fix memory leak when initializing GTK templates :mr:`526` 3.56.2 - 2026-03-25 ------------------- * ci: drop obsolete mingw environments, add UCRT64 and clang64 (backport) :mr:`533` * Leave floating state intact for get/set property (backport) :mr:`534` * Only call do_dispose if it's implemented on the class (backport) :mr:`531` 3.56.1 - 2026-02-27 ------------------- * Fix `do_dispose` for floating objects :mr:`527` * Updates and fixes for Windows documantation :mr:`525` 3.56.0 - 2026-02-27 ------------------- * Handle caller-allocated fixed-size C-Arrays :mr:`523` * Fix reading array length on big-endian :mr:`521` * Invoke `do_constructed` for object constructed by GObject directly :mr:`519` :mr:`520` * events: fix main context iteration without thread default :mr:`518` 3.55.3 - 2026-02-04 ------------------- * Add typing annotations to `GLib` and `GObject` overrides :mr:`506` :mr:`513` * Do not allow `__slots__` in GObject subclasses :mr:`508` * Documentation updates :mr:`510` * overrides/GLib: Add wrappers for `GLibUnix` split :mr:`492` * Fix leak in object initialization :mr:`514` * asyncio support without EventLoopPolicy :mr:`503` :mr:`509` * Fix crash in string/array marshalling (regression from :mr:`487`) :mr:`516` * Update class type on wrapper destruction (regression from :mr:`449`) :mr:`515` 3.55.2 - 2026-01-17 ------------------- * Use cache logic for field/property/constant/signal closure marshalling :mr:`487` :mr:`500` * Refactor struct and object marshaller code :mr:`493` * Remove wrappers for `GLib.OptionContext` and `GLib.OptionGroup` :mr:`499` * Fix issue when Python objects are garbage collected (regression from :mr:`449`) :mr:`507` * Windows build failure with Python 3.13 :mr:`502` * Refactoring :mr:`504` :mr:`505` 3.55.1 - 2026-01-03 ------------------- * Enable `-Wswitch-enum` compiler option :mr:`476` * Pass `GIArgument` as value argument :mr:`447` :mr:`480` * Support unichar properties :mr:`475` * Minimum supported Python version is 3.10 :mr:`478` * docs: Add conda and pixi to getting started :mr:`481` * Fix a few memory leaks, refactorings and cleanup :mr:`483` :mr:`484` :mr:`485` :mr:`486` * docs: Website updates :mr:`488` * Add backwards compatibility for `Gdk.PaintableFlags.SIZE`/`CONTENTS` :mr:`496` * Fix missing instance variables when objects are garbage collected (regression from :mr:`449`) :mr:`497` * Use a (temporary) object to make sure `do_dispose()` is called :mr:`491` * Call `do_constructed()` at the end of object initialization :mr:`495` 3.55.0 - 2025-11-15 ------------------- Most notable changes are the removal of toggle references. If you use python weakrefs to track PyGObjects, you should change that to `GObject.Object.weak_ref()`. An environment variable `PYGI_OVERRIDES_PATH` can be set to add additional override paths (especially for testing). * Remove `GLib.options` module :mr:`273` * Support generic parameters for `Gio.ListStore` :mr:`237` * Cleanup: replace arguments in cache objects by functions :mr:`439` * Always sink floating objects :mr:`442` * Excempt GioPlatform namespaces from require_version check :mr:`450` * (backwards compat) Expose platform symbols through Gio module :mr:`451` :mr:`452` * Update pythoncapi-compat :mr:`455` * Add PYGI_OVERRIDES_PATH environment variable :mr:`453` * Provide the intended GioUnix API, even on older GLib :mr:`456` * Code refactorings :mr:`465` :mr:`466` :mr:`470` :mr:`474` * Remove `pygtkcompat` completely :mr:`464` * Array improvements :mr:`422` * Fix memory leak when array construction fails :mr:`473` * Unify properties handling :mr:`469` * Replace toggle references :mr:`449` @ text @$NetBSD: patch-gi_overrides_Gio.py,v 1.1 2026/01/06 08:41:40 adam Exp $ Work-around for: AttributeError: 'bool' object has no attribute 'islower' --- gi/overrides/Gio.py.orig 2026-01-06 08:24:47.069427093 +0000 +++ gi/overrides/Gio.py @@@@ -656,7 +656,7 @@@@ if GioPlatform: try: name = original_attr.__name__[0] except (AttributeError, IndexError): - name = original_attr + name = attr # Fallback if we don't have the original name. if name.islower(): @ 1.1 log @py-gobject3: work-arount for AttributeError @ text @d1 1 a1 1 $NetBSD$ @