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 Feb  2 19:04:57 UTC 2022

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

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

0.17.2 (22-01-17)

Require typing-extensions on Python<3.8 only.
Fix a regression in tests collection introduced by 0.17.1, the
plugin works fine with non-python tests again.

0.17.1 (22-01-16)

Fixes a bug that prevents async Hypothesis tests from working
without explicit asyncio marker when --asyncio-mode=auto is set.
Fixed a bug that closes the default event loop if the loop doesn't
exist
Added type annotations.
Show asyncio mode in pytest report headers.
Relax asyncio_mode type definition; it allows to support pytest
6.1+.

0.17.0 (22-01-13)
[pytest-asyncio]{.title-ref} no longer alters existing event loop
policies.
Drop support for Python 3.6
Fixed an issue when pytest-asyncio was used in combination with
[flaky]{.title-ref} or inherited asynchronous Hypothesis tests.
Added flaky to test dependencies
Added unused_udp_port and unused_udp_port_factory fixtures
(similar to unused_tcp_port and unused_tcp_port_factory
counterparts.
Added the plugin modes: strict, auto, and legacy. See
documentation
for details.
Correctly process KeyboardInterrupt during async fixture setup
phase


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-test-asyncio/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-test-asyncio/PLIST
cvs rdiff -u -r1.9 -r1.10 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.10 pkgsrc/devel/py-test-asyncio/Makefile:1.11
--- pkgsrc/devel/py-test-asyncio/Makefile:1.10  Tue Jan  4 20:53:40 2022
+++ pkgsrc/devel/py-test-asyncio/Makefile       Wed Feb  2 19:04:57 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2022/01/04 20:53:40 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/02/02 19:04:57 adam Exp $
 
-DISTNAME=      pytest-asyncio-0.16.0
+DISTNAME=      pytest-asyncio-0.17.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-asyncio/}
 
@@ -11,11 +10,22 @@ HOMEPAGE=   https://github.com/pytest-dev/
 COMMENT=       Pytest support for asyncio
 LICENSE=       apache-2.0
 
-DEPENDS+=      ${PYPKGPREFIX}-test>=5.4.0:../../devel/py-test
+DEPENDS+=      ${PYPKGPREFIX}-test>=6.1.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>0:../../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
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>0:../../devel/py-typing-extensions
+.endif
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-test-asyncio/PLIST
diff -u pkgsrc/devel/py-test-asyncio/PLIST:1.1 pkgsrc/devel/py-test-asyncio/PLIST:1.2
--- pkgsrc/devel/py-test-asyncio/PLIST:1.1      Mon Feb  5 16:28:49 2018
+++ pkgsrc/devel/py-test-asyncio/PLIST  Wed Feb  2 19:04:57 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/02/05 16:28:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/02/02 19:04:57 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,6 +8,10 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx
 ${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
+${PYSITELIB}/pytest_asyncio/py.typed

Index: pkgsrc/devel/py-test-asyncio/distinfo
diff -u pkgsrc/devel/py-test-asyncio/distinfo:1.9 pkgsrc/devel/py-test-asyncio/distinfo:1.10
--- pkgsrc/devel/py-test-asyncio/distinfo:1.9   Tue Oct 26 17:24:44 2021
+++ pkgsrc/devel/py-test-asyncio/distinfo       Wed Feb  2 19:04:57 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 17:24:44 adam Exp $
+$NetBSD: distinfo,v 1.10 2022/02/02 19:04:57 adam Exp $
 
-BLAKE2s (pytest-asyncio-0.16.0.tar.gz) = 0c6d3440408ab207267d0fff2678db401a7ba0fd54acab921a311dcf4fe4e46e
-SHA512 (pytest-asyncio-0.16.0.tar.gz) = 0ac5fe36ecf15525fbc271c27d591481447c077f0b135d1020bf33bbe4f60b4bc95c5e0fb19108c664f3e33d796f1ea59b1670be294a1d662154d83a1aa51b42
-Size (pytest-asyncio-0.16.0.tar.gz) = 12095 bytes
+BLAKE2s (pytest-asyncio-0.17.2.tar.gz) = 0fb723a8f5d2d83fc509451868f77a851643975e9599d5b59cda3754d12edaf8
+SHA512 (pytest-asyncio-0.17.2.tar.gz) = 5a18d1920cf7ef727d01070d0c4ace190ff80fd2a79eca3fe142e3f01d396fea2ca51e7823e91e9ab5c474510e5cd00aa7f058fb4d26290cca0a4cd51e4589f3
+Size (pytest-asyncio-0.17.2.tar.gz) = 31194 bytes



Home | Main Index | Thread Index | Old Index