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 Dec 5 17:58:43 UTC 2023
Modified Files:
pkgsrc/devel/py-test-asyncio: Makefile distinfo
Log Message:
py-test-asyncio: updated to 0.23.2
0.23.2 (2023-12-04)
===================
- Fixes a bug that caused an internal pytest error when collecting .txt files
0.23.1 (2023-12-03)
===================
- Fixes a bug that caused an internal pytest error when using module-level skips
0.23.0 (2023-12-03)
===================
This release is backwards-compatible with v0.21.
Changes are non-breaking, unless you upgrade from v0.22.
- BREAKING: The *asyncio_event_loop* mark has been removed. Event loops with class, module, package, and session scopes can be requested via the *scope* keyword argument to the _asyncio_ mark.
- Introduces the *event_loop_policy* fixture which allows testing with non-default or multiple event loops
- Introduces ``pytest_asyncio.is_async_test`` which returns whether a test item is managed by pytest-asyncio
- Removes and *pytest-trio,* *mypy,* and *flaky* from the test dependencies
0.22.0 (2023-10-31)
===================
This release has been yanked from PyPI due to fundamental issues with the _asyncio_event_loop_ mark.
- Class-scoped and module-scoped event loops can be requested
via the _asyncio_event_loop_ mark.
- Deprecate redefinition of the `event_loop` fixture.
Users requiring a class-scoped or module-scoped asyncio event loop for their tests
should mark the corresponding class or module with `asyncio_event_loop`.
- Test items based on asynchronous generators always exit with *xfail* status and emit a warning during the collection phase. This behavior is consistent with synchronous yield tests.
- Remove support for Python 3.7
- Declare support for Python 3.12
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-test-asyncio/Makefile
cvs rdiff -u -r1.19 -r1.20 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.24 pkgsrc/devel/py-test-asyncio/Makefile:1.25
--- pkgsrc/devel/py-test-asyncio/Makefile:1.24 Sat Oct 28 19:57:06 2023
+++ pkgsrc/devel/py-test-asyncio/Makefile Tue Dec 5 17:58:43 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2023/10/28 19:57:06 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2023/12/05 17:58:43 adam Exp $
-DISTNAME= pytest-asyncio-0.21.1
+DISTNAME= pytest-asyncio-0.23.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-asyncio/}
@@ -11,23 +10,16 @@ HOMEPAGE= https://github.com/pytest-dev/
COMMENT= Pytest support for asyncio
LICENSE= apache-2.0
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=51.0:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.36:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-test>=7.0.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=6.2:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.7.1:../../devel/py-hypothesis
-TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.5.0:../../devel/py-flaky
-TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=0.931:../../lang/py-mypy
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-trio>=0.7.0:../../devel/py-test-trio
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
-# package needs to be installed before testing, next line is not enough
-#TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
-do-test:
- cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test-asyncio/distinfo
diff -u pkgsrc/devel/py-test-asyncio/distinfo:1.19 pkgsrc/devel/py-test-asyncio/distinfo:1.20
--- pkgsrc/devel/py-test-asyncio/distinfo:1.19 Mon Jul 17 08:59:48 2023
+++ pkgsrc/devel/py-test-asyncio/distinfo Tue Dec 5 17:58:43 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2023/07/17 08:59:48 adam Exp $
+$NetBSD: distinfo,v 1.20 2023/12/05 17:58:43 adam Exp $
-BLAKE2s (pytest-asyncio-0.21.1.tar.gz) = 001cfc67fe3825dac486856a7cb22e93321b7a72004f10e8a2affcc35c5f5366
-SHA512 (pytest-asyncio-0.21.1.tar.gz) = 3aef14bade1dddab4320450d60c6909a76c7cf334d8225ad155b474b042d1c692edc5b567fb86ecf6b3453746105c3cecce86d2c6ff5cf6652d5147a8532cfd0
-Size (pytest-asyncio-0.21.1.tar.gz) = 30492 bytes
+BLAKE2s (pytest-asyncio-0.23.2.tar.gz) = 86ca04c2f1bd0f6e9c74c9ca707bc5162d6920b90a40571b5b025f893aa75e61
+SHA512 (pytest-asyncio-0.23.2.tar.gz) = aa5b5fe8b633b187303dd2958d2ea01561604044507da107e46115d9bf4c1ac3c78826b4b6a6cbf474a6ee4ce0cd1bede87a2c8fe0d35397ddf6a4069437dd84
+Size (pytest-asyncio-0.23.2.tar.gz) = 44174 bytes
Home |
Main Index |
Thread Index |
Old Index