* Fri May 26 2023 daniel.garcia@suse.com
- Do not build python-gobject-common-devel package, place all devel
files under the sitelib/gi folder.
* Fri May 26 2023 daniel.garcia@suse.com
- add sle15_python_module_pythons (jsc#PED-68)
* Fri Mar 24 2023 bjorn.lie@gmail.com
- Update to version 3.44.1:
+ Fix tests with glib 2.76.x
* Sun Mar 19 2023 bjorn.lie@gmail.com
- Update to version 3.44.0:
+ No changes compared to 3.43.1
* Fri Feb 24 2023 bjorn.lie@gmail.com
- Update to version 3.43.1:
+ Drop support for Python 3.6
+ meson: bump minimum version to 0.53.0 and update subprojects
+ gimodule: fix floating state of python objects created with
g_object_new
+ Gtk.Template: Accept PathLike objects as a filename
+ info: Show which type/object callables are bound to
+ IntrospectionModule: handle two threads loading type at same
time
+ Port to Py_TRASHCAN_BEGIN
+ Other cleanups/improvements
* Fri Jul 22 2022 bjorn.lie@gmail.com
- Update to version 3.42.2:
+ Error out instead of crashing when marshaling unsupported
fundamental types in some cases.
+ Add a workaround for a PyPy 3.9+ bug when threads are used.
+ Fix crashes when marshaling zero terminated arrays for certain
item types.
+ Fix a crash/refcounting error in case marshaling a hash table
fails.
+ Make the test suite pass again with PyPy.
+ tests: support running tests with (MSVC) CPython 3.8+ on
Windows.
+ interface: Fix leak when overriding GInterfaceInfo.
+ setup.py: look up pycairo headers without importing the module
(helps with building on Windows and MSVC CPython 3.8+).
* Sat Jul 16 2022 code@bnavigator.de
- Work around vendored distutils in setuptools >= 60 incorrectly
installing pkgconfig files into the wrong libdir
* Thu Jun 09 2022 dimstar@opensuse.org
- Add dependency on python-cairo to python-gobject-cairo: The
introspection wrapper needs the actual pycairo underneath
(boo#1179584).
* Thu Apr 21 2022 emilyyrose@gmail.com
- Update to version 3.42.1:
+ Do not error out for unknown scopes.
+ gtk overrides: restore Gtk.ListStore.insert_with_valuesv with
newer GTK4.
+ gtk overrides: Do not override Treeview.enable_model_drag_xx
for GTK4.
+ Implement DynamicImporter.find_spec() to silence deprecation
warning.
+ Some test/CI fixes.
* Mon Sep 20 2021 dimstar@opensuse.org
- Update to version 3.42.0:
+ meson: Bump minimum meson_version to 0.47.0.
+ Expose GObject.Object.run_dispose().
+ docs: document Gtk.Template.
+ dev: Add poetry support.
+ meson: use main branch for glib subproject.
+ Fix some small memory leaks.
* Wed Aug 04 2021 dimstar@opensuse.org
- Adjust BuildRequires for python_module cairo to python-module
pycairo: the module was renamed 2 years ago.
- Skip build for python2: not supported anymore since 3.38.0.
* Sat Apr 17 2021 dimstar@opensuse.org
- Update to version 3.40.1:
+ Fix tests with glib 2.68.
+ Fix a regression with marshalling partial() objects.
* Fri Mar 19 2021 mgorse@suse.com
- Update to version 3.40.0:
+ GTK 4 compatibility fixes.
+ Python 3.9 and 3.10 compatibility fixes.
+ New minimal dependency requirements.
- Up glib2, gobject-introspection, and cairo required versions.
* Wed Jan 13 2021 code@bnavigator.de
- Recompile python cache files after removal of components, include
cache files in correct subpackage
- Fix supplements declarations, where possible. Disable for -gdk.
* Wed Jan 13 2021 dimstar@opensuse.org
- Simplify the dependency exclusion from __init__.py to also match
with multiple python3-flavors.
- Remove exec bit from all *.py files in examples, also
subdirectories.
* Mon Sep 14 2020 dimstar@opensuse.org
- Update to version 3.38.0:
+ meson: Make the `pycairo` option a feature.
+ gdk overrides: Fix wrapping of scroll events.
+ Add overrides for Gtk.Button set/get_focus_on_click.
* Wed May 06 2020 bjorn.lie@gmail.com
- Update to version 3.36.1:
+ tests: Fix failing tests with pytest 5.4.0+.
+ Gtk: Add override to make sure both
TreeModelSort.new_with_model and TreeModel.sort_new_with_model
exist independend of the gtk version.
+ Gtk.Template: Fix initialisation order errors with Widgets
getting created from C (potentially through other templates).
+ Gtk.Template: Fix errors when calling init_template() multiple
times.
* Sun Mar 08 2020 bjorn.lie@gmail.com
- Update to version 3.36.0:
+ This will be the last release supporting Python 2.
+ pygobject-object: Avoid checking whether NULL is floating.
+ Avoid various new glib deprecation warnings.
+ Port to g_object_new_with_properties().
+ Drop Python 2 support on Windows.
+ gtk overrides: Drop Menu, MenuItem for Gtk 4.
+ Docs:
- Update openSUSE instructions.
- Add Gaphor to Who is Using PyGObject.
- Remove reference to a fixed bug.
* Fri Jan 31 2020 dimstar@opensuse.org
- Remove %{python_module gobject-devel = %{version}} from
common-devel: Assuming that consumers of the .pc and include
headers are not really using the python bindings.
* Sat Jan 11 2020 bjorn.lie@gmail.com
- Drop gnome-common Requires from python-gobject-common-devel
sub-package, no longer needed, nor used since 3.29.1, where the
BuildRequires was dropped, but the explicit Requires was not
removed by mistake.
Version: 3.34.0-bp152.2.12
* Fri Jan 31 2020 Dominique Leuenberger <dimstar@opensuse.org>
- Remove %{python_module gobject-devel = %{version}} from
common-devel: Assuming that consumers of the .pc and include
headers are not really using the python bindings.
* Sat Jan 11 2020 Bjørn Lie <bjorn.lie@gmail.com>
- Drop gnome-common Requires from python-gobject-common-devel
sub-package, no longer needed, nor used since 3.29.1, where the
BuildRequires was dropped, but the explicit Requires was not
removed by mistake.
* Mon Sep 09 2019 mgorse@suse.com
- Update to version 3.34.0:
+ No changes since 3.33.1.
* Sat Aug 31 2019 mgorse@suse.com
- Update to version 3.33.1:
+ Make GLib.Variant.unpack a bit less costly.
+ pygobject: ignore GParameter deprecations.
+ pygobject-object: fix refcount of floating return values.
+ pygi-info: remove some dead code.
* Mon Jun 24 2019 Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.32.2:
+ Python 3.8b1 compatibility fixes.
+ tests: fix a test error when run under wayland.
+ setup.py: specify python_requires.
* Sat Apr 20 2019 Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.32.1:
+ tests/gimarshallingtestsextra.c/h: relicense to LGPLv2.1+.
+ meson: add ``tests`` option for disabling tests.
+ meson: tests: pass ``--quiet`` to g-ir-scanner.
+ Fix a crash when marshalling a GError to Python fails.
+ Fix leak of transfer-full/container C arrays.
* Sun Mar 10 2019 Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.32.0:
+ No changes since 3.31.4.
* Thu Mar 07 2019 Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.31.4:
+ docs: document GObject.Object.weak_ref().
+ cairo:
- Add cairo pattern foreign struct support.
- Add cairo_matrix_t converter to GValue.
* Thu Feb 14 2019 bjorn.lie@gmail.com
- Update to version 3.31.3:
+ Speed up destruction of boxed types and
GObject.Value.set_value() calls. This makes appending to a
Gtk.TreeModel nearly twice as fast for example.
+ Allow passing None for boolean parameters.
+ meson: Install .egg-info directory to arch'd dir.
+ gtk overrides: raise in case Gtk.Window is instantiated after
gtk_init failed.
+ gio overrides: Warn when creating various dbus types without a
constructor.
+ tests:
- Fix tests with glib 2.59.x.
- Fix test_atoms failing in some environments.
* Thu Jan 03 2019 bjorn.lie@gmail.com
- Update to version 3.31.2:
+ GLib.Variant.keys: correctly raise TypeError for non-dict
types.
+ GLib.Variant: implement __bool__ for maybe types.
+ cairo: Fix GValue converters in case of NULL.
+ setup.py: Print an install command hint when pkg-config is
missing.
+ pygi-info: wrap g_union_info_get_alignment().
* Sun Dec 02 2018 bjorn.lie@gmail.com
- Update to version 3.30.4:
+ gtk overrides: Fix rows getting inserted on the wrong level
with TreeStore.insert_before/inster_after if parent=None.
* Tue Nov 27 2018 bjorn.lie@gmail.com
- Update to version 3.30.3:
+ GValue: fall back to the custom C marshaller to support
fundamental types. This makes GValue work with GstFraction.
+ GValue: Work around wrong annotations for GVariant.
+ Fix GObject attribute access during instance init which can
lead to errors with __getattr__ implementations of subclasses.
This lead to criticals when instantiating Gio.DBusProxy.
* Mon Nov 12 2018 bjorn.lie@gmail.com
- Update to version 3.30.2:
+ tests: Fix some test with newer glib.
+ overrides: Fix crash when using non-ascii text with
Gtk.Builder.add_from_string/add_objects_from_string.
+ Various meson/distutils build fixes for MSVC.
+ foreign-cairo: Fix cairo marshalling not using the foreign
converters in some cases.
+ build: setup.py reproducible build fixes.
* Wed Sep 26 2018 bjorn.lie@gmail.com
- Update to version 3.30.1:
+ Fix various crashes on big endian systems.
+ meson: Don't link against libpython on non-Windows systems.
* Sat Sep 01 2018 bjorn.lie@gmail.com
- Update to version 3.30.0:
+ Various test suite fixes to get things to pass with Ubuntu
18.10.
* Fri Aug 17 2018 bjorn.lie@gmail.com
- Update to version 3.29.3:
+ meson:
- Support building pycairo as a subproject.
- Declare_dependency for use by potential superprojects.
- Update glib wrap file.
- Fix the Python 2 build not not use the system pycairo
extension when running tests.
+ pygi-convert.sh: Various fixes and updates.
+ Gtk.Template:
- Fix instantiation error when using the new code with older
PyGObject.
- Don't error out when loading a resource that is only
available in an overlay.
+ Fix various crashes when running against a debug Python 3.7
build.
+ overrides:
- Allow calling GObject.Binding.unbind() multiple times with
GLib 2.58+.
- Gio.ListStore overrides use splice() when adding/removing
many items with GLib 2.58+.
+ Work around pylint reporting bogus warnings regarding a missing
self argument for normal functions.
+ Add override for GdkPixbuf.Pixbuf.new_from_data() to wrap
new_from_bytes() to work around a use after free.
* Sat Jun 09 2018 luc14n0@linuxmail.org
- Update to version 3.29.2:
+ Gtk.Template: Allow marking children as "internal-child".
+ Gio.Settings: implement __iter__.
+ Release the GIL when emitting a signal.
+ Don't wrap GValue in GValue when creating GValueArray.
+ Don't crash on multiple calls to GObject.Value.__del__.
+ Various fixes.
+ Various fixes/improvements for PyPy.
+ Issues fixed: glgo#GNOME/pygobject#115,
glgo#GNOME/pygobject#134, glgo#GNOME/pygobject#130,
glgo#GNOME/pygobject#45, glgo#GNOME/pygobject#200,
glgo#GNOME/pygobject#29, glgo#GNOME/pygobject#213,
glgo#GNOME/pygobject#219, glgo#GNOME/pygobject#193.
+ Updated documentation.
* Mon Jun 04 2018 luc14n0@linuxmail.org
- Update to version 3.29.1:
+ Support for `PyPy <https://pypy.org/>`__ and PyPy3.
(glgo#GNOME/pygobject#180).
+ Cairo: support :class:`cairo.Matrix` conversion.
(glgo#GNOME/pygobject#16).
+ Speed up repeated closure creation by caching the closure cache
in the argument cache (glgo#GNOME/pygobject#103).
+ Overrides: Make :meth:`Gtk.ListStore.insert_before`,
:meth:`Gtk.ListStore.insert_after`, :meth:`Gtk.TreeStore.\
insert_before` and :meth:`Gtk.TreeStore.insert_after` atomic.
+ Make :class:`GLib.Error` picklable (glgo#GNOME/pygobject#45).
+ Add basic support for template based widgets through
``Gtk.Template`` (glgo#GNOME/pygobject#52).
+ Avoid truncating value returned from g_value_info_get_value.
+ Various documentation improvements.
- Drop:
+ gnome-common BuildRequires and autoreconf call, and replace
configure/make_build/make_install macros with python_build and
python_install, following upstream drop of Autotools.
+ pycompile-searchpath.patch: it is no longer needed.
* Fri Jun 01 2018 bjorn.lie@gmail.com
- Update to version 3.28.3:
+ Fix Gio.Application leak in case no signal handler is set
before.
+ Squash critical warning when using array as hash value.
* Tue Mar 27 2018 luc14n0@linuxmail.org
- Update to version 3.28.2:
+ Fix:
- __str__ return type of Gtk.TreePath with depth == 0
(glgo#GNOME/pygobject#143);
- A crash when setting a str property with a value containing
surrogates (glgo#GNOME/pygobject#169).
+ Tests: Fix a potential crash during tests.