pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-asyncio
Module Name: pkgsrc
Committed By: adam
Date: Wed May 27 12:50:26 UTC 2026
Modified Files:
pkgsrc/devel/py-test-asyncio: Makefile distinfo
Log Message:
py-test-asyncio: updated to 1.4.0
1.4.0
Deprecated
Overriding the event_loop_policy fixture is deprecated. Use the pytest_asyncio_loop_factories hook instead.
Added
Added the pytest_asyncio_loop_factories hook to parametrize asyncio tests with custom event loop factories.
The hook returns a mapping of factory names to loop factories, and pytest.mark.asyncio(loop_factories=[...]) selects a subset of configured factories per test. When a single factory is configured,
test names are unchanged.
Synchronous @pytest_asyncio.fixture functions now see the correct event loop when custom loop factories are configured, even when test code disrupts the current event loop (e.g., via asyncio.run() or
asyncio.set_event_loop(None)).
Changed
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
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.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/py-test-asyncio/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/py-test-asyncio/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-test-asyncio/Makefile
diff -u pkgsrc/devel/py-test-asyncio/Makefile:1.43 pkgsrc/devel/py-test-asyncio/Makefile:1.44
--- pkgsrc/devel/py-test-asyncio/Makefile:1.43 Fri Nov 21 14:06:33 2025
+++ pkgsrc/devel/py-test-asyncio/Makefile Wed May 27 12:50:25 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2025/11/21 14:06:33 adam Exp $
+# $NetBSD: Makefile,v 1.44 2026/05/27 12:50:25 adam Exp $
-DISTNAME= pytest_asyncio-1.3.0
+DISTNAME= pytest_asyncio-1.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pytest_/test-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-asyncio/}
@@ -12,7 +12,7 @@ LICENSE= apache-2.0
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
-DEPENDS+= ${PYPKGPREFIX}-test>=8.2.0:../../devel/py-test
+DEPENDS+= ${PYPKGPREFIX}-test>=8.4:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=6.2:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.7.1:../../devel/py-hypothesis
Index: pkgsrc/devel/py-test-asyncio/distinfo
diff -u pkgsrc/devel/py-test-asyncio/distinfo:1.36 pkgsrc/devel/py-test-asyncio/distinfo:1.37
--- pkgsrc/devel/py-test-asyncio/distinfo:1.36 Fri Nov 21 14:06:33 2025
+++ pkgsrc/devel/py-test-asyncio/distinfo Wed May 27 12:50:25 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.36 2025/11/21 14:06:33 adam Exp $
+$NetBSD: distinfo,v 1.37 2026/05/27 12:50:25 adam Exp $
-BLAKE2s (pytest_asyncio-1.3.0.tar.gz) = aa134e93acebeb026d9abefca7525b685168cbba50fc477a44441dfe7c98b871
-SHA512 (pytest_asyncio-1.3.0.tar.gz) = 239fa63116622cdb22b0521f8af5b4f0c7f1c0e3975592a7711160ff636d2fbe3277d261df44dca5e11a666b50614732c5089c981d345b818de1abcad47dcf14
-Size (pytest_asyncio-1.3.0.tar.gz) = 50087 bytes
+BLAKE2s (pytest_asyncio-1.4.0.tar.gz) = b5ea800bab7bde08febc2fb14f86869f259add89d6e6d0c5cd06c13adc2f7f26
+SHA512 (pytest_asyncio-1.4.0.tar.gz) = 29e05011f2f515b0ac517e43936bb853ec3aedc8016cdc3a0e3a97aa1a4b1f2e815db7e79f10d2edb59971a224c92229a1d9354d54f10a7fa9a04474afebd39c
+Size (pytest_asyncio-1.4.0.tar.gz) = 58514 bytes
Home |
Main Index |
Thread Index |
Old Index