public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rpkg] 1.70-1: Patch: Fix compatibility with Python 3.13+ - rhbz#2276896
Date: Mon, 10 Aug 2026 21:44:42 GMT	[thread overview]
Message-ID: <178639828213.1.8658476593070638386.rpms-rpkg-cb67fedaa500@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-08-10 21:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178639828213.1.8658476593070638386.rpms-rpkg-cb67fedaa500@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox