[packages/python3-pytest-asyncio] Up to 1.4.1.post1
arekm
arekm at pld-linux.org
Thu Nov 12 13:35:44 CET 2026
commit 0f15e3cecce7683df099530132a55116116b7054
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 12 03:00:40 2026 +0100
Up to 1.4.1.post1
pytest-asyncio-tests.patch | 21 ++++++++++++++++-----
python3-pytest-asyncio.spec | 7 ++++---
2 files changed, 20 insertions(+), 8 deletions(-)
---
diff --git a/python3-pytest-asyncio.spec b/python3-pytest-asyncio.spec
index 23c684b..5f87b27 100644
--- a/python3-pytest-asyncio.spec
+++ b/python3-pytest-asyncio.spec
@@ -6,13 +6,13 @@
Summary: Pytest support for asyncio
Summary(pl.UTF-8): Wsparcie do asyncio dla Pytesta
Name: python3-pytest-asyncio
-Version: 1.3.0
+Version: 1.4.1.post1
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: f9bf0eed023c7b6bb1d68ebea82d0398
+# Source0-md5: 5004d13aaae9be1c548002985d75040b
Patch0: pytest-asyncio-tests.patch
URL: https://pypi.org/project/pytest-asyncio/
BuildRequires: python3-build
@@ -28,7 +28,7 @@ BuildRequires: python3-backports-asyncio-runner < 2
%endif
BuildRequires: python3-coverage >= 6.2
BuildRequires: python3-hypothesis >= 5.7.1
-BuildRequires: python3-pytest >= 8.2
+BuildRequires: python3-pytest >= 8.4
%if "%{_ver_lt %{py3_ver} 3.13}" == "1"
BuildRequires: python3-typing_extensions >= 4.12
%endif
@@ -37,6 +37,7 @@ BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 2.044
%if %{with doc}
BuildRequires: python3-sphinx_rtd_theme >= 1
+BuildRequires: python3-sphinx_tabs >= 3.5
BuildRequires: sphinx-pdg-3 >= 5.3
%endif
Requires: python3-modules >= 1:3.10
diff --git a/pytest-asyncio-tests.patch b/pytest-asyncio-tests.patch
index b685d56..a24b1c2 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.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
+--- pytest_asyncio-1.4.1.post1/tests/test_event_loop_fixture.py
++++ pytest_asyncio-1.4.1.post1/tests/test_event_loop_fixture.py
+@@ -13,7 +13,7 @@
import asyncio
import pytest
@@ -10,7 +10,7 @@ Adjust for pytest_asyncio already loaded via environment variable
@pytest.mark.asyncio
async def test_something():
-@@ -42,7 +42,7 @@ def test_closing_event_loop_in_sync_fixt
+@@ -36,7 +36,7 @@
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():
-@@ -77,7 +77,7 @@ def test_event_loop_fixture_asyncgen_err
+@@ -67,7 +67,7 @@
import asyncio
import pytest
@@ -28,3 +28,14 @@ Adjust for pytest_asyncio already loaded via environment variable
@pytest.mark.asyncio
async def test_something():
+--- pytest_asyncio-1.4.1.post1/tests/test_set_event_loop.py
++++ pytest_asyncio-1.4.1.post1/tests/test_set_event_loop.py
+@@ -112,7 +112,7 @@
+ import pytest
+ import pytest_asyncio
+
+- pytest_plugins = "pytest_asyncio"
++ # pytest_plugins = "pytest_asyncio"
+
+ @pytest_asyncio.fixture
+ async def async_fixture():
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-pytest-asyncio.git/commitdiff/0f15e3cecce7683df099530132a55116116b7054
More information about the pld-cvs-commit
mailing list