[packages/python3-pytest-asyncio] - updated to 1.3.0

qboosh qboosh at pld-linux.org
Sat Jan 17 10:36:57 CET 2026


commit 9811ed40c9270698acc489bfc1339a916941f0fc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jan 17 10:36:59 2026 +0100

    - updated to 1.3.0

 pytest-asyncio-tests.patch  | 10 +++++-----
 python3-pytest-asyncio.spec | 16 ++++++++++------
 2 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/python3-pytest-asyncio.spec b/python3-pytest-asyncio.spec
index 4e1b252..23c684b 100644
--- a/python3-pytest-asyncio.spec
+++ b/python3-pytest-asyncio.spec
@@ -6,26 +6,30 @@
 Summary:	Pytest support for asyncio
 Summary(pl.UTF-8):	Wsparcie do asyncio dla Pytesta
 Name:		python3-pytest-asyncio
-Version:	1.0.0
+Version:	1.3.0
 Release:	1
 License:	Apache v2.0
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/pytest-asyncio/
 Source0:	https://files.pythonhosted.org/packages/source/p/pytest-asyncio/pytest_asyncio-%{version}.tar.gz
-# Source0-md5:	84f54204d53c46291c412bce27562480
+# Source0-md5:	f9bf0eed023c7b6bb1d68ebea82d0398
 Patch0:		pytest-asyncio-tests.patch
 URL:		https://pypi.org/project/pytest-asyncio/
 BuildRequires:	python3-build
 BuildRequires:	python3-installer
-BuildRequires:	python3-modules >= 1:3.9
+BuildRequires:	python3-modules >= 1:3.10
 BuildRequires:	python3-setuptools >= 1:77
 BuildRequires:	python3-setuptools_scm >= 6.2
 BuildRequires:	python3-toml
 %if %{with tests}
+%if "%{py3_ver}" == "3.10"
+BuildRequires:	python3-backports-asyncio-runner >= 1.1
+BuildRequires:	python3-backports-asyncio-runner < 2
+%endif
 BuildRequires:	python3-coverage >= 6.2
 BuildRequires:	python3-hypothesis >= 5.7.1
 BuildRequires:	python3-pytest >= 8.2
-%if "%{_ver_lt %{py3_ver} 3.10}" == "1"
+%if "%{_ver_lt %{py3_ver} 3.13}" == "1"
 BuildRequires:	python3-typing_extensions >= 4.12
 %endif
 %endif
@@ -35,7 +39,7 @@ BuildRequires:	rpmbuild(macros) >= 2.044
 BuildRequires:	python3-sphinx_rtd_theme >= 1
 BuildRequires:	sphinx-pdg-3 >= 5.3
 %endif
-Requires:	python3-modules >= 1:3.9
+Requires:	python3-modules >= 1:3.10
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -97,7 +101,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.rst
+%doc README.rst SECURITY.rst
 %{py3_sitescriptdir}/pytest_asyncio
 %{py3_sitescriptdir}/pytest_asyncio-%{version}.dist-info
 
diff --git a/pytest-asyncio-tests.patch b/pytest-asyncio-tests.patch
index 8801d63..b685d56 100644
--- a/pytest-asyncio-tests.patch
+++ b/pytest-asyncio-tests.patch
@@ -1,7 +1,7 @@
 Adjust for pytest_asyncio already loaded via environment variable
---- pytest_asyncio-1.0.0/tests/test_event_loop_fixture.py.orig	2025-05-26 06:48:36.000000000 +0200
-+++ pytest_asyncio-1.0.0/tests/test_event_loop_fixture.py	2025-07-05 16:44:19.637737992 +0200
-@@ -65,7 +65,7 @@ def test_event_loop_fixture_handles_uncl
+--- pytest_asyncio-1.3.0/tests/test_event_loop_fixture.py.orig	2025-11-10 16:59:44.000000000 +0100
++++ pytest_asyncio-1.3.0/tests/test_event_loop_fixture.py	2026-01-17 10:22:49.122415595 +0100
+@@ -15,7 +15,7 @@ def test_event_loop_fixture_handles_uncl
              import asyncio
              import pytest
  
@@ -10,7 +10,7 @@ Adjust for pytest_asyncio already loaded via environment variable
  
              @pytest.mark.asyncio
              async def test_something():
-@@ -92,7 +92,7 @@ def test_event_loop_already_closed(
+@@ -42,7 +42,7 @@ def test_closing_event_loop_in_sync_fixt
              import asyncio
              import pytest
              import pytest_asyncio
@@ -19,7 +19,7 @@ Adjust for pytest_asyncio already loaded via environment variable
  
              @pytest_asyncio.fixture
              async def _event_loop():
-@@ -124,7 +124,7 @@ def test_event_loop_fixture_asyncgen_err
+@@ -77,7 +77,7 @@ def test_event_loop_fixture_asyncgen_err
              import asyncio
              import pytest
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pytest-asyncio.git/commitdiff/9811ed40c9270698acc489bfc1339a916941f0fc



More information about the pld-cvs-commit mailing list