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:           Tue Oct 28 13:25:01 UTC 2025

Modified Files:
        pkgsrc/devel/py-test-asyncio: Makefile PLIST distinfo

Log Message:
py-test-asyncio: updated to 1.2.0

1.2.0

Added

--asyncio-debug CLI option and asyncio_debug configuration option to enable asyncio debug mode for the default event loop.
A pytest.UsageError for invalid configuration values of asyncio_default_fixture_loop_scope and asyncio_default_test_loop_scope.
Compatibility with the Pyright type checker

Fixed

RuntimeError: There is no current event loop in thread 'MainThread' when any test unsets the event loop (such as when using asyncio.run and asyncio.Runner).
Deprecation warning when decorating an asynchronous fixture with @pytest.fixture in [strict]{.title-ref} mode. The warning message now refers to the correct package.

Notes for Downstream Packagers

Bump the minimum required version of tox to v4.28. This change is only relevant if you use the tox.ini file provided by pytest-asyncio to run tests.
Extend dependency on typing-extensions>=4.12 from Python<3.10 to Python<3.13.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/devel/py-test-asyncio/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-test-asyncio/PLIST
cvs rdiff -u -r1.34 -r1.35 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.41 pkgsrc/devel/py-test-asyncio/Makefile:1.42
--- pkgsrc/devel/py-test-asyncio/Makefile:1.41  Thu Oct  9 08:07:28 2025
+++ pkgsrc/devel/py-test-asyncio/Makefile       Tue Oct 28 13:25:00 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2025/10/09 08:07:28 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2025/10/28 13:25:00 adam Exp $
 
-DISTNAME=      pytest_asyncio-1.1.0
+DISTNAME=      pytest_asyncio-1.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/pytest_/test-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-asyncio/}
@@ -18,6 +18,13 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-hypothesis
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  310 # requires backports-asyncio-runner
+
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 313
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.12:../../devel/py-typing-extensions
+.endif
+
 # test status as of 1.1.0 after 'make install'
 # 168 passed
 

Index: pkgsrc/devel/py-test-asyncio/PLIST
diff -u pkgsrc/devel/py-test-asyncio/PLIST:1.5 pkgsrc/devel/py-test-asyncio/PLIST:1.6
--- pkgsrc/devel/py-test-asyncio/PLIST:1.5      Sat Apr 12 21:15:36 2025
+++ pkgsrc/devel/py-test-asyncio/PLIST  Tue Oct 28 13:25:00 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2025/04/12 21:15:36 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2025/10/28 13:25:00 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -8,9 +8,6 @@ ${PYSITELIB}/${WHEEL_INFODIR}/top_level.
 ${PYSITELIB}/pytest_asyncio/__init__.py
 ${PYSITELIB}/pytest_asyncio/__init__.pyc
 ${PYSITELIB}/pytest_asyncio/__init__.pyo
-${PYSITELIB}/pytest_asyncio/_version.py
-${PYSITELIB}/pytest_asyncio/_version.pyc
-${PYSITELIB}/pytest_asyncio/_version.pyo
 ${PYSITELIB}/pytest_asyncio/plugin.py
 ${PYSITELIB}/pytest_asyncio/plugin.pyc
 ${PYSITELIB}/pytest_asyncio/plugin.pyo

Index: pkgsrc/devel/py-test-asyncio/distinfo
diff -u pkgsrc/devel/py-test-asyncio/distinfo:1.34 pkgsrc/devel/py-test-asyncio/distinfo:1.35
--- pkgsrc/devel/py-test-asyncio/distinfo:1.34  Fri Aug 22 10:30:00 2025
+++ pkgsrc/devel/py-test-asyncio/distinfo       Tue Oct 28 13:25:00 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.34 2025/08/22 10:30:00 wiz Exp $
+$NetBSD: distinfo,v 1.35 2025/10/28 13:25:00 adam Exp $
 
-BLAKE2s (pytest_asyncio-1.1.0.tar.gz) = 6542f6c7da36ad42284ebe79099affbe96486090452eca71f666b93672c5d23e
-SHA512 (pytest_asyncio-1.1.0.tar.gz) = f2f8efcfe965edf3a9ff29dffe776f60240b229235391b09ff266d97568c01c6014d5b0a9fb9963af728f6e30e3eda8deb726b9ff2616f524f3228e4f66535e4
-Size (pytest_asyncio-1.1.0.tar.gz) = 46652 bytes
+BLAKE2s (pytest_asyncio-1.2.0.tar.gz) = 3ba0e7ba97367c53618ac91691121bc3a91fad2dbfef51b8e63136cb4e27dd17
+SHA512 (pytest_asyncio-1.2.0.tar.gz) = 290850d18d915eb9230c3658817ff35555f78ef5901cde84a914d2231c7c036f3644e954790e53eb2cd3da26acffd0d124c17f51c054a6477fe19fcda77ef5e4
+Size (pytest_asyncio-1.2.0.tar.gz) = 50119 bytes



Home | Main Index | Thread Index | Old Index