public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pygobject3] rawhide: Revert "Update to 3.57.0"
@ 2026-07-24 12:50
0 siblings, 0 replies; only message in thread
From: @ 2026-07-24 12:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pygobject3
Branch : rawhide
Commit : f6f06b3cc9c83d890020a2a7b6b8a3f2b5c2fe51
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-07-24T11:34:28+02:00
Stats : +52/-3 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/pygobject3/c/f6f06b3cc9c83d890020a2a7b6b8a3f2b5c2fe51?branch=rawhide
Log:
Revert "Update to 3.57.0"
- https://gitlab.gnome.org/GNOME/pygobject/-/work_items/764
This reverts commit a88023c6bfb45b05c0213aff24e1e101e200e756.
---
diff --git a/545.patch b/545.patch
new file mode 100644
index 0000000..171e358
--- /dev/null
+++ b/545.patch
@@ -0,0 +1,47 @@
+From a538585ebb562bbf9c52587f0d4210029687e6e0 Mon Sep 17 00:00:00 2001
+From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+Date: Wed, 6 May 2026 22:43:52 -0400
+Subject: [PATCH] De-duplicate deprecations of module attributes
+
+This allows generically deprecating a set of symbols (e.g., everything
+in `GLibUnix` that's in `GLib`) and then providing a more-specific
+deprecation for special symbols (e.g., `GLib.unix_signal_add_full`),
+without triggering a deprecation from the first when making the second.
+---
+ gi/overrides/__init__.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/gi/overrides/__init__.py b/gi/overrides/__init__.py
+index c475b3953..bc2b3eec6 100644
+--- a/gi/overrides/__init__.py
++++ b/gi/overrides/__init__.py
+@@ -14,7 +14,7 @@ from pkgutil import extend_path
+ __path__ = extend_path(__path__, __name__)
+
+
+-# namespace -> (attr, replacement)
++# namespace -> {attr -> replacement}
+ _deprecated_attrs = {}
+
+
+@@ -154,7 +154,7 @@ def load_overrides(introspection_module):
+
+ # Replace deprecated module level attributes with a descriptor
+ # which emits a warning when accessed.
+- for attr, replacement in _deprecated_attrs.pop(namespace, []):
++ for attr, replacement in _deprecated_attrs.pop(namespace, {}).items():
+ try:
+ value = getattr(proxy, attr)
+ except AttributeError:
+@@ -252,7 +252,7 @@ def deprecated_attr(namespace, attr, replacement):
+ :param str replacement:
+ The replacement text which will be included in the warning.
+ """
+- _deprecated_attrs.setdefault(namespace, []).append((attr, replacement))
++ _deprecated_attrs.setdefault(namespace, {})[attr] = replacement
+
+
+ def deprecated_init(
+--
+GitLab
+
diff --git a/pygobject3.spec b/pygobject3.spec
index ab9b78e..820ff3d 100644
--- a/pygobject3.spec
+++ b/pygobject3.spec
@@ -4,13 +4,15 @@
%define python3_version 3.8
Name: pygobject3
-Version: 3.57.0
-Release: %autorelease
+Version: 3.56.3
+Release: %autorelease -b6
Summary: Python bindings for GObject Introspection
License: LGPL-2.1-or-later
URL: https://wiki.gnome.org/Projects/PyGObject
Source0: https://download.gnome.org/sources/pygobject/%{gnome_major_minor_version}/pygobject-%{version}.tar.gz
+# Don't raise GLib.unix_signal_add_full deprecation warnings on import (merged upstream)
+Patch: https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/545.patch
BuildRequires: pkgconfig(cairo-gobject)
BuildRequires: pkgconfig(girepository-2.0) >= %{glib2_version}
diff --git a/sources b/sources
index 28e1d7e..3d94d17 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pygobject-3.57.0.tar.gz) = a9190faa9b066e4b586015770e767d7bd5919f8fa4433d12ce8981aab795931e89bdd65488818d1554f6aa395412c015a9b2bfa6f25287e68b1735c50b08322e
+SHA512 (pygobject-3.56.3.tar.gz) = 7267e04c02436fb88eddac463546275c7ebda7295f4d250c27a37114a589676d340c0876ad953523c20dd52cfd7d8883cefd5c1b3dd7115a96645f1a32ba0d99
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-24 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-24 12:50 [rpms/pygobject3] rawhide: Revert "Update to 3.57.0"
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox