Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-asyncio for 
openSUSE:Factory checked in at 2026-09-16 17:40:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-asyncio (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-asyncio.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-asyncio"

Wed Sep 16 17:40:50 2026 rev:30 rq:1378071 version:1.4.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-asyncio/python-pytest-asyncio.changes  
    2025-12-09 12:48:38.783610946 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-asyncio.new.383539/python-pytest-asyncio.changes
  2026-09-16 17:41:09.481079975 +0200
@@ -1,0 +2,18 @@
+Mon Sep 14 14:39:41 UTC 2026 - Nico Krapp <[email protected]>
+
+- Update to 1.4.0:
+  * Overriding the event_loop_policy fixture is deprecated. Use the
+    pytest_asyncio_loop_factories hook instead.
+  * Added the pytest_asyncio_loop_factories hook to parametrize asyncio tests
+    with custom event loop factories.
+  * Improved the readability of the warning message that is displayed when
+    asyncio_default_fixture_loop_scope is unset
+  * Only import asyncio.AbstractEventLoopPolicy for type checking to avoid
+    raising a DeprecationWarning.
+  * Updated minimum supported pytest version to v8.4.0.
+  * Fixed a ResourceWarning: unclosed event loop warning that could occur when
+    a synchronous test called asyncio.run() or otherwise unset the current
+    event loop after pytest-asyncio had run an async test or fixture.
+- add pytest-9.1.patch to fix test with pytest 9.1
+
+-------------------------------------------------------------------

Old:
----
  pytest-asyncio-1.3.0.tar.gz

New:
----
  pytest-9.1.patch
  pytest-asyncio-1.4.0.tar.gz

----------(New B)----------
  New:    event loop after pytest-asyncio had run an async test or fixture.
- add pytest-9.1.patch to fix test with pytest 9.1
----------(New E)----------

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

Other differences:
------------------
++++++ python-pytest-asyncio.spec ++++++
--- /var/tmp/diff_new_pack.ywTcG3/_old  2026-09-16 17:41:10.434119797 +0200
+++ /var/tmp/diff_new_pack.ywTcG3/_new  2026-09-16 17:41:10.437119922 +0200
@@ -26,21 +26,22 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-pytest-asyncio%{psuffix}
-Version:        1.3.0
+Version:        1.4.0
 Release:        0
 Summary:        Pytest support for asyncio
 License:        Apache-2.0
 URL:            https://github.com/pytest-dev/pytest-asyncio
 Source:         
https://github.com/pytest-dev/pytest-asyncio/archive/v%{version}.tar.gz#/pytest-asyncio-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM pytest-9.1.patch 
https://github.com/pytest-dev/pytest-asyncio/commit/054a52da46abc1392a4ce82f1e17c2e924bd9e81
+Patch0:         pytest-9.1.patch
+BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module base >= 3.10}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module typing-extensions >= 4.12 if %python-base < 
3.13}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
-Requires:       (python-pytest >= 8.2.0 with python-pytest < 10)
+Requires:       (python-pytest >= 8.4.0 with python-pytest < 10)
 %if 0%{?python_version_nodots} < 313
 Requires:       python-typing-extensions >= 4.12
 %endif

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.ywTcG3/_old  2026-09-16 17:41:10.512123056 +0200
+++ /var/tmp/diff_new_pack.ywTcG3/_new  2026-09-16 17:41:10.517123265 +0200
@@ -1,6 +1,7 @@
-mtime: 1764033470
-commit: ac867cd2f78eddfac1cfca329f59b2c0240a847dbac2353c47c1ba66250bb2b4
-url: https://src.opensuse.org/python-pytest/python-pytest-asyncio.git
-revision: ac867cd2f78eddfac1cfca329f59b2c0240a847dbac2353c47c1ba66250bb2b4
+mtime: 1789397871
+commit: f6912c8e02bc095a622e8dfa01b1f2d51c2349d49979aeeeb01d7195b0c89150
+url: https://src.opensuse.org/python-pytest/python-pytest-asyncio
+revision: f6912c8e02bc095a622e8dfa01b1f2d51c2349d49979aeeeb01d7195b0c89150
+trackingbranch: main
 projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-09-14 16:57:51.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ pytest-9.1.patch ++++++
>From 054a52da46abc1392a4ce82f1e17c2e924bd9e81 Mon Sep 17 00:00:00 2001
From: Tom Kuson <[email protected]>
Date: Tue, 21 Jul 2026 11:29:01 +0200
Subject: [PATCH] test: Make test_class_scope ready for pytest v9.1

---
 tests/markers/test_class_scope.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/markers/test_class_scope.py 
b/tests/markers/test_class_scope.py
index 28f7187c..ce023fcc 100644
--- a/tests/markers/test_class_scope.py
+++ b/tests/markers/test_class_scope.py
@@ -111,7 +111,8 @@ class CustomEventLoopPolicy(asyncio.DefaultEventLoopPolicy):
 
             class TestUsesCustomEventLoop:
                 @pytest.fixture(scope="class")
-                def event_loop_policy(self):
+                @classmethod
+                def event_loop_policy(cls):
                     return CustomEventLoopPolicy()
 
                 @pytest.mark.asyncio

++++++ pytest-asyncio-1.3.0.tar.gz -> pytest-asyncio-1.4.0.tar.gz ++++++
++++ 6036 lines of diff (skipped)

Reply via email to