Tue Dec 5 17:58:43 2023 UTC (173d)
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


(adam)
diff -r1.24 -r1.25 pkgsrc/devel/py-test-asyncio/Makefile
diff -r1.19 -r1.20 pkgsrc/devel/py-test-asyncio/distinfo

cvs diff -r1.24 -r1.25 pkgsrc/devel/py-test-asyncio/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-test-asyncio/Makefile 2023/10/28 19:57:06 1.24
+++ pkgsrc/devel/py-test-asyncio/Makefile 2023/12/05 17:58:43 1.25
@@ -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
3DISTNAME= pytest-asyncio-0.21.1 3DISTNAME= pytest-asyncio-0.23.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
5PKGREVISION= 1 
6CATEGORIES= devel python 5CATEGORIES= devel python
7MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-asyncio/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-asyncio/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/pytest-dev/pytest-asyncio 9HOMEPAGE= https://github.com/pytest-dev/pytest-asyncio
11COMMENT= Pytest support for asyncio 10COMMENT= Pytest support for asyncio
12LICENSE= apache-2.0 11LICENSE= apache-2.0
13 12
 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=51.0:../../devel/py-setuptools
14TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm 14TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.36:../../devel/py-wheel 15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.36:../../devel/py-wheel
16DEPENDS+= ${PYPKGPREFIX}-test>=7.0.0:../../devel/py-test 16DEPENDS+= ${PYPKGPREFIX}-test>=7.0.0:../../devel/py-test
17TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=6.2:../../devel/py-coverage 17TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=6.2:../../devel/py-coverage
18TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.7.1:../../devel/py-hypothesis 18TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.7.1:../../devel/py-hypothesis
19TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3.5.0:../../devel/py-flaky 
20TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=0.931:../../lang/py-mypy 
21TEST_DEPENDS+= ${PYPKGPREFIX}-test-trio>=0.7.0:../../devel/py-test-trio 
22 19
23USE_LANGUAGES= # none 20USE_LANGUAGES= # none
24 21
25PYTHON_VERSIONS_INCOMPATIBLE= 27 22PYTHON_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 
29do-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"

cvs diff -r1.19 -r1.20 pkgsrc/devel/py-test-asyncio/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-test-asyncio/distinfo 2023/07/17 08:59:48 1.19
+++ pkgsrc/devel/py-test-asyncio/distinfo 2023/12/05 17:58:43 1.20
@@ -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
3BLAKE2s (pytest-asyncio-0.21.1.tar.gz) = 001cfc67fe3825dac486856a7cb22e93321b7a72004f10e8a2affcc35c5f5366 3BLAKE2s (pytest-asyncio-0.23.2.tar.gz) = 86ca04c2f1bd0f6e9c74c9ca707bc5162d6920b90a40571b5b025f893aa75e61
4SHA512 (pytest-asyncio-0.21.1.tar.gz) = 3aef14bade1dddab4320450d60c6909a76c7cf334d8225ad155b474b042d1c692edc5b567fb86ecf6b3453746105c3cecce86d2c6ff5cf6652d5147a8532cfd0 4SHA512 (pytest-asyncio-0.23.2.tar.gz) = aa5b5fe8b633b187303dd2958d2ea01561604044507da107e46115d9bf4c1ac3c78826b4b6a6cbf474a6ee4ce0cd1bede87a2c8fe0d35397ddf6a4069437dd84
5Size (pytest-asyncio-0.21.1.tar.gz) = 30492 bytes 5Size (pytest-asyncio-0.23.2.tar.gz) = 44174 bytes