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.12diff -r1.24 -r1.25 pkgsrc/devel/py-test-asyncio/Makefile
(adam)
@@ -1,33 +1,25 @@ | @@ -1,33 +1,25 @@ | |||
1 | # $NetBSD: Makefile,v 1.24 2023/10/28 19:57:06 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.25 2023/12/05 17:58:43 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= pytest-asyncio-0.21.1 | 3 | DISTNAME= pytest-asyncio-0.23.2 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-asyncio/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-asyncio/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://github.com/pytest-dev/pytest-asyncio | 9 | HOMEPAGE= https://github.com/pytest-dev/pytest-asyncio | |
11 | COMMENT= Pytest support for asyncio | 10 | COMMENT= Pytest support for asyncio | |
12 | LICENSE= apache-2.0 | 11 | LICENSE= apache-2.0 | |
13 | 12 | |||
13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=51.0:../../devel/py-setuptools | |||
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm | 14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm | |
15 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.36:../../devel/py-wheel | 15 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.36:../../devel/py-wheel | |
16 | DEPENDS+= ${PYPKGPREFIX}-test>=7.0.0:../../devel/py-test | 16 | DEPENDS+= ${PYPKGPREFIX}-test>=7.0.0:../../devel/py-test | |
17 | TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=6.2:../../devel/py-coverage | 17 | TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=6.2:../../devel/py-coverage | |
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.7.1:../../devel/py-hypothesis | 18 | TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.7.1:../../devel/py-hypothesis | |
19 | TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.5.0:../../devel/py-flaky | |||
20 | TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=0.931:../../lang/py-mypy | |||
21 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-trio>=0.7.0:../../devel/py-test-trio | |||
22 | 19 | |||
23 | USE_LANGUAGES= # none | 20 | USE_LANGUAGES= # none | |
24 | 21 | |||
25 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 22 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
26 | 23 | |||
27 | # package needs to be installed before testing, next line is not enough | |||
28 | #TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib | |||
29 | do-test: | |||
30 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} | |||
31 | ||||
32 | .include "../../lang/python/wheel.mk" | 24 | .include "../../lang/python/wheel.mk" | |
33 | .include "../../mk/bsd.pkg.mk" | 25 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.19 2023/07/17 08:59:48 adam Exp $ | 1 | $NetBSD: distinfo,v 1.20 2023/12/05 17:58:43 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (pytest-asyncio-0.21.1.tar.gz) = 001cfc67fe3825dac486856a7cb22e93321b7a72004f10e8a2affcc35c5f5366 | 3 | BLAKE2s (pytest-asyncio-0.23.2.tar.gz) = 86ca04c2f1bd0f6e9c74c9ca707bc5162d6920b90a40571b5b025f893aa75e61 | |
4 | SHA512 (pytest-asyncio-0.21.1.tar.gz) = 3aef14bade1dddab4320450d60c6909a76c7cf334d8225ad155b474b042d1c692edc5b567fb86ecf6b3453746105c3cecce86d2c6ff5cf6652d5147a8532cfd0 | 4 | SHA512 (pytest-asyncio-0.23.2.tar.gz) = aa5b5fe8b633b187303dd2958d2ea01561604044507da107e46115d9bf4c1ac3c78826b4b6a6cbf474a6ee4ce0cd1bede87a2c8fe0d35397ddf6a4069437dd84 | |
5 | Size (pytest-asyncio-0.21.1.tar.gz) = 30492 bytes | 5 | Size (pytest-asyncio-0.23.2.tar.gz) = 44174 bytes |