Mon Jan 16 14:29:26 2023 UTC ()
py-test: updated to 7.2.1

pytest 7.2.1 (2023-01-13)
Bug Fixes
Fix 窶亙mportlib.abc.TraversableResources窶� deprecation warning in Python 3.12.
If a test is skipped from inside a fixture, the test summary now shows the test location instead of the fixture location.
Fix bug where sometimes pytest would use the file system root directory as rootdir on Windows.
Fix a race condition when creating junitxml reports, which could occur when multiple instances of pytest execute in parallel.
Fix a race condition when creating or updating the stepwise plugin窶冱 cache, which could occur when multiple xdist worker nodes try to simultaneously update the stepwise plugin窶冱 cache.


(adam)
diff -r1.110 -r1.111 pkgsrc/devel/py-test/Makefile
diff -r1.97 -r1.98 pkgsrc/devel/py-test/distinfo

cvs diff -r1.110 -r1.111 pkgsrc/devel/py-test/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-test/Makefile 2022/10/28 08:58:12 1.110
+++ pkgsrc/devel/py-test/Makefile 2023/01/16 14:29:26 1.111
@@ -1,53 +1,50 @@ @@ -1,53 +1,50 @@
1# $NetBSD: Makefile,v 1.110 2022/10/28 08:58:12 adam Exp $ 1# $NetBSD: Makefile,v 1.111 2023/01/16 14:29:26 adam Exp $
2 2
3DISTNAME= pytest-7.2.0 3DISTNAME= pytest-7.2.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://pytest.org/ 9HOMEPAGE= https://pytest.org/
10COMMENT= Python testing tool 10COMMENT= Python testing tool
11LICENSE= mit 11LICENSE= mit
12 12
13BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
14BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
15BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm 15TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
16DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs 16DEPENDS+= ${PYPKGPREFIX}-attrs>=19.2.0:../../devel/py-attrs
17DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat 17DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
18DEPENDS+= ${PYPKGPREFIX}-iniconfig-[0-9]*:../../devel/py-iniconfig 18DEPENDS+= ${PYPKGPREFIX}-iniconfig-[0-9]*:../../devel/py-iniconfig
19DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging 19DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
20DEPENDS+= ${PYPKGPREFIX}-pluggy>=0.12:../../devel/py-pluggy 20DEPENDS+= ${PYPKGPREFIX}-pluggy>=0.12:../../devel/py-pluggy
21TEST_DEPENDS+= ${PYPKGPREFIX}-argcomplete-[0-9]*:../../devel/py-argcomplete 21TEST_DEPENDS+= ${PYPKGPREFIX}-argcomplete-[0-9]*:../../devel/py-argcomplete
22TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=3.56:../../devel/py-hypothesis 22TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=3.56:../../devel/py-hypothesis
23TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock 23TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
24TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose 24TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
25TEST_DEPENDS+= ${PYPKGPREFIX}-pygments>=2.7.2:../../textproc/py-pygments 25TEST_DEPENDS+= ${PYPKGPREFIX}-pygments>=2.7.2:../../textproc/py-pygments
26TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests 26TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
27TEST_DEPENDS+= ${PYPKGPREFIX}-xmlschema-[0-9]*:../../textproc/py-xmlschema 27TEST_DEPENDS+= ${PYPKGPREFIX}-xmlschema-[0-9]*:../../textproc/py-xmlschema
28 28
29USE_LANGUAGES= # none 29USE_LANGUAGES= # none
30USE_TOOLS+= bash:build 30USE_TOOLS+= bash:build
31 31
32USE_PKG_RESOURCES= yes 32USE_PKG_RESOURCES= yes
33 33
34PYTHON_VERSIONS_INCOMPATIBLE= 27 34PYTHON_VERSIONS_INCOMPATIBLE= 27
35 35
36.include "../../lang/python/pyversion.mk" 36.include "../../lang/python/pyversion.mk"
37.if ${_PYTHON_VERSION} == 37 37.if ${_PYTHON_VERSION} != 311
38DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=0.12:../../devel/py-importlib-metadata 
39.endif 
40.if ${_PYTHON_VERSION} < 311 
41DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup 38DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup
42DEPENDS+= ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli 39DEPENDS+= ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
43.endif 40.endif
44 41
45post-install: 42post-install:
46 cd ${DESTDIR}${PREFIX}/bin && \ 43 cd ${DESTDIR}${PREFIX}/bin && \
47 ${MV} py.test py.test-${PYVERSSUFFIX} && \ 44 ${MV} py.test py.test-${PYVERSSUFFIX} && \
48 ${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE} 45 ${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE}
49 46
50# needs to be installed before testing 47# needs to be installed before testing
51# as of 7.2.0 48# as of 7.2.0
52# 6 failed, 3324 passed, 39 skipped, 11 xfailed 49# 6 failed, 3324 passed, 39 skipped, 11 xfailed
53do-test: 50do-test:

cvs diff -r1.97 -r1.98 pkgsrc/devel/py-test/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-test/distinfo 2022/10/28 08:58:12 1.97
+++ pkgsrc/devel/py-test/distinfo 2023/01/16 14:29:26 1.98
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.97 2022/10/28 08:58:12 adam Exp $ 1$NetBSD: distinfo,v 1.98 2023/01/16 14:29:26 adam Exp $
2 2
3BLAKE2s (pytest-7.2.0.tar.gz) = 98bd9c1e9b400e0fc3d8813b318a82d3dba5e06bbe916f8fc283a3b65655f1ac 3BLAKE2s (pytest-7.2.1.tar.gz) = 2f50e73424e17f82792d779170244b5883b0884d9ea6235097bfb69889f1c2e5
4SHA512 (pytest-7.2.0.tar.gz) = a16b034c8522f0aa6ee9541b07b79be713565a6e755ab0489b38c2b0a0ed9f7857c87f952ff24c199a2e4c0d71ee26e918dd06abfe994d30ac90e32ae3e8c4d1 4SHA512 (pytest-7.2.1.tar.gz) = 3f09ccda91c0f14156cf558abde880279838d1a61c8f7e7138ea9fcd59be0577234da2f30410959641fd5a17490c713c0008ce2ed4b4c57196267fca69714061
5Size (pytest-7.2.0.tar.gz) = 1300608 bytes 5Size (pytest-7.2.1.tar.gz) = 1301901 bytes