public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jeremy Cline <jeremycline@microsoft.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pika] f44: Update to v1.4.1
Date: Tue, 27 Oct 2026 17:22:45 GMT [thread overview]
Message-ID: <179312176538.1.10637705359041000792.rpms-python-pika-062151badada@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pika
Branch : f44
Commit : 062151badadaf27c8746f1de73e028e09c05ffc9
Author : Jeremy Cline <jeremycline@microsoft.com>
Date : 2026-05-23T10:33:07-04:00
Stats : +6/-40 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-pika/c/062151badadaf27c8746f1de73e028e09c05ffc9?branch=f44
Log:
Update to v1.4.1
---
diff --git a/.gitignore b/.gitignore
index 8e81f86..8341212 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
/pika-1.2.1.tar.gz
/pika-1.3.1.tar.gz
/pika-1.3.2.tar.gz
+/pika-1.4.1.tar.gz
diff --git a/python-pika.spec b/python-pika.spec
index 9cd6220..6d3a05e 100644
--- a/python-pika.spec
+++ b/python-pika.spec
@@ -6,7 +6,7 @@ tries to stay fairly independent of the underlying network support \
library.
Name: python-%{srcname}
-Version: 1.3.2
+Version: 1.4.1
Release: %autorelease
Summary: AMQP 0-9-1 client library for Python
@@ -14,10 +14,6 @@ License: BSD-3-Clause
URL: https://pypi.python.org/pypi/%{srcname}
Source0: %{srcurl}/archive/%{version}/%{srcname}-%{version}.tar.gz
-# Fix tests with Python 3.14, except RuntimeError from asyncio.get_event_loop
-# https://github.com/pika/pika/pull/1524
-Patch: python3.14.patch
-
BuildArch: noarch
# Python 3 requirements
@@ -29,7 +25,8 @@ BuildRequires: python3-tornado
BuildRequires: python3-sphinx
# Test requirements
-BuildRequires: python3-nose2
+BuildRequires: python3-pytest
+
%description
%{desc}
@@ -61,9 +58,6 @@ Obsoletes: python3-%{srcname}-doc <= 0.12.0-5
%autosetup -p1 -n %{srcname}-%{version}
# These require a broker and should be run as part of the new CI/CD stuff
rm -rf tests/acceptance
-sed -i -e s#tests=tests/unit,tests/acceptance#tests=tests/unit#g nose2.cfg
-# don't run code coverage
-sed -i 's/with-coverage = 1/with-coverage = 0/g' nose2.cfg
%generate_buildrequires
%pyproject_buildrequires
@@ -80,7 +74,7 @@ sphinx-build -b html -d doctrees docs html
%check
-PYTHONPATH=%{buildroot}%{python3_sitelib} nose2
+PYTHONPATH=%{buildroot}%{python3_sitelib} pytest
%files -n python3-%{srcname} -f %{pyproject_files}
diff --git a/python3.14.patch b/python3.14.patch
deleted file mode 100644
index 03e2642..0000000
--- a/python3.14.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 114dbb5bc8a88c056cfb72697390f5cf7957580e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
-Date: Sat, 7 Jun 2025 20:06:42 +0200
-Subject: [PATCH] Fix tests with Python 3.14, except RuntimeError from
- asyncio.get_event_loop
-
-Fixes https://github.com/pika/pika/issues/1479
----
- tests/unit/io_services_test_stubs_test.py | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/tests/unit/io_services_test_stubs_test.py b/tests/unit/io_services_test_stubs_test.py
-index 64bda671..ea259c4e 100644
---- a/tests/unit/io_services_test_stubs_test.py
-+++ b/tests/unit/io_services_test_stubs_test.py
-@@ -42,7 +42,12 @@ _SUPPORTED_LOOP_CLASSES = {
- if asyncio is not None:
- if sys.platform == 'win32':
- asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
-- _SUPPORTED_LOOP_CLASSES.add(asyncio.get_event_loop().__class__)
-+ try:
-+ loop = asyncio.get_event_loop()
-+ except RuntimeError:
-+ loop = asyncio.new_event_loop()
-+ _SUPPORTED_LOOP_CLASSES.add(loop.__class__)
-+
-
-
- class TestStartCalledFromOtherThreadAndWithVaryingNativeLoops(
diff --git a/sources b/sources
index 32f01ff..f42b51d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pika-1.3.2.tar.gz) = 86c1c33db808274052cbe18af68bef685fafa260f692d16dcd3ce6259107c343ebdd3482713a7948583566581defa6037f3344d03b11c50458432d044d8b2057
+SHA512 (pika-1.4.1.tar.gz) = 6a40eeb17bb8687648c3c0b2bb791421c1af7275b92e94514adb3d4a5f58743d789616e9de447518f16b57cae9ef37c1e44b841a7239059a564a3a7ef6be5455
reply other threads:[~2026-10-27 17:22 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=179312176538.1.10637705359041000792.rpms-python-pika-062151badada@fedoraproject.org \
--to=jeremycline@microsoft.com \
--cc=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