Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pika for openSUSE:Factory 
checked in at 2025-11-19 15:00:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pika (Old)
 and      /work/SRC/openSUSE:Factory/.python-pika.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pika"

Wed Nov 19 15:00:34 2025 rev:22 rq:1318542 version:1.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pika/python-pika.changes  2023-11-14 
21:42:13.546828027 +0100
+++ /work/SRC/openSUSE:Factory/.python-pika.new.2061/python-pika.changes        
2025-11-19 15:04:31.526995304 +0100
@@ -1,0 +2,6 @@
+Wed Nov 12 03:59:50 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Add patch support-python314.patch:
+  * Support Python 3.14 asyncio changes.
+
+-------------------------------------------------------------------

New:
----
  support-python314.patch

----------(New B)----------
  New:
- Add patch support-python314.patch:
  * Support Python 3.14 asyncio changes.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pika.spec ++++++
--- /var/tmp/diff_new_pack.4Cgc0u/_old  2025-11-19 15:04:35.883179300 +0100
+++ /var/tmp/diff_new_pack.4Cgc0u/_new  2025-11-19 15:04:35.887179469 +0100
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package python-pika
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,9 +23,10 @@
 Release:        0
 Summary:        Pika Python AMQP Client Library
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/pika/pika
 Source:         https://github.com/pika/pika/archive/%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Based on gh#pika/pika#1524
+Patch0:         support-python314.patch
 BuildRequires:  %{python_module Twisted}
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module pip}
@@ -47,7 +48,7 @@
 should also work with other AMQP 0-9-1 brokers.
 
 %prep
-%setup -q -n %{mod_name}-%{version}
+%autosetup -p1 -n %{mod_name}-%{version}
 # acceptance needs running configured server
 rm -rf tests/acceptance/
 
@@ -57,7 +58,6 @@
 %install
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}/%{mod_name}
-%python_expand %fdupes %{buildroot}%{$python_sitelib}/*.egg-info
 
 %check
 # E   ModuleNotFoundError: No module named 'tests'

++++++ support-python314.patch ++++++
>From 114dbb5bc8a88c056cfb72697390f5cf7957580e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <[email protected]>
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(-)

Index: pika-1.3.2/tests/unit/io_services_test_stubs_test.py
===================================================================
--- pika-1.3.2.orig/tests/unit/io_services_test_stubs_test.py
+++ pika-1.3.2/tests/unit/io_services_test_stubs_test.py
@@ -42,7 +42,11 @@ _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(

Reply via email to