public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpkg] 1.70-1: Patch: Fix compatibility with Python 3.13+ - rhbz#2276896
@ 2026-08-10 21:44 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-10 21:44 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rpkg
            Branch : 1.70-1
            Commit : cb67fedaa500fb68e08b837631b19fa5316c6354
            Author : Ondřej Nosek <onosek@redhat.com>
            Date   : 2024-05-23T11:31:21+00:00
            Stats  : +34/-1 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpkg/c/cb67fedaa500fb68e08b837631b19fa5316c6354?branch=1.70-1

            Log:
            Patch: Fix compatibility with Python 3.13+ - rhbz#2276896

Signed-off-by: Ondřej Nosek <onosek@redhat.com>

---
diff --git a/0036-Fix-compatibility-with-Python-3.13-rhbz-2276896.patch b/0036-Fix-compatibility-with-Python-3.13-rhbz-2276896.patch
new file mode 100644
index 0000000..3897d5d
--- /dev/null
+++ b/0036-Fix-compatibility-with-Python-3.13-rhbz-2276896.patch
@@ -0,0 +1,29 @@
+From 8abedc57b1f5b396ea1acdf9b476a299e8141eab Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ond=C5=99ej=20Nosek?= <onosek@redhat.com>
+Date: Thu, 23 May 2024 11:23:03 +0000
+Subject: [PATCH] Fix compatibility with Python 3.13+ - rhbz#2276896
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Ondřej Nosek <onosek@redhat.com>
+---
+ pyrpkg/lookaside.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyrpkg/lookaside.py b/pyrpkg/lookaside.py
+index 01eee4a..dc84b1d 100644
+--- a/pyrpkg/lookaside.py
++++ b/pyrpkg/lookaside.py
+@@ -406,7 +406,7 @@ class CGILookasideCache(object):
+                     try:
+                         return function(*args, **kwargs)
+                     except wait_on as e:
+-                        self.log.warn("Network error: %s" % (e))
++                        self.log.warning("Network error: %s" % (e))
+                         attempts_left -= 1
+                         self.log.debug("Attempt %d/%d has failed."
+                                        % (attempts_all - attempts_left, attempts_all))
+-- 
+2.43.2
+

diff --git a/rpkg.spec b/rpkg.spec
index 65e6d73..5330d0c 100644
--- a/rpkg.spec
+++ b/rpkg.spec
@@ -1,6 +1,6 @@
 Name:           rpkg
 Version:        1.66
-Release:        17%{?dist}
+Release:        18%{?dist}
 
 Summary:        Python library for interacting with rpm+git
 License:        GPLv2+ and LGPLv2
@@ -69,6 +69,7 @@ Patch32:        0031-pkg-import-Undo-rpmautospec-processing.patch
 Patch33:        0032-Unittests-for-Undo-rpmautospec-processing.patch
 Patch34:        0034-mockbuild-new-argument-extra-pkgs.patch
 Patch35:        0035-Add-option-to-mockbuild-use-default-resultdir-of-moc.patch
+Patch36:        0036-Fix-compatibility-with-Python-3.13-rhbz-2276896.patch
 
 %description
 Python library for interacting with rpm+git
@@ -285,6 +286,9 @@ example_cli_dir=$RPM_BUILD_ROOT%{_datadir}/%{name}/examples/cli
 
 
 %changelog
+* Thu May 23 2024 Ondřej Nosek <onosek@redhat.com> - 1.66-18
+- Fix compatibility with Python 3.13+ - rhbz#2276896
+
 * Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.66-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10 21:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 21:44 [rpms/rpkg] 1.70-1: Patch: Fix compatibility with Python 3.13+ - rhbz#2276896 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox