Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-apns2 for openSUSE:Factory 
checked in at 2026-01-20 21:05:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-apns2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-apns2.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-apns2"

Tue Jan 20 21:05:14 2026 rev:5 rq:1328267 version:0.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-apns2/python-apns2.changes        
2025-05-13 20:09:44.073577293 +0200
+++ /work/SRC/openSUSE:Factory/.python-apns2.new.1928/python-apns2.changes      
2026-01-20 21:05:26.634254318 +0100
@@ -1,0 +2,5 @@
+Mon Jan 19 17:13:46 UTC 2026 - Markéta Machová <[email protected]>
+
+- Add pytest9.patch to fix build with pytest 9
+
+-------------------------------------------------------------------

New:
----
  pytest9.patch

----------(New B)----------
  New:
- Add pytest9.patch to fix build with pytest 9
----------(New E)----------

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

Other differences:
------------------
++++++ python-apns2.spec ++++++
--- /var/tmp/diff_new_pack.wu4YKr/_old  2026-01-20 21:05:27.138275150 +0100
+++ /var/tmp/diff_new_pack.wu4YKr/_new  2026-01-20 21:05:27.142275315 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-apns2
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 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
@@ -27,6 +27,8 @@
 Patch0:         pr_122.patch
 # PATCH-FIX-OPENSUSE Based on gh#Pr0Ger/PyAPNs2#149, is gross
 Patch1:         use-httpx.patch
+# PATCH-FIX-UPSTREAM https://github.com/Pr0Ger/PyAPNs2/pull/163 Fix tests with 
pytest 9
+Patch2:         pytest9.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}

++++++ pytest9.patch ++++++
Index: apns2-0.7.2/test/test_client.py
===================================================================
--- apns2-0.7.2.orig/test/test_client.py
+++ apns2-0.7.2/test/test_client.py
@@ -22,7 +22,6 @@ def notifications(tokens):
     return [Notification(token=token, payload=payload) for token in tokens]
 
 
-@patch('apns2.credentials.init_context')
 @pytest.fixture
 def client(respx_mock, notifications):
     return APNsClient(credentials=Credentials())

Reply via email to