Tue Sep 5 18:58:32 2023 UTC ()
py-test: updated to 7.4.1

pytest 7.4.1 (2023-09-02)
=========================

Bug Fixes
---------
- Fixed bug where fake intermediate modules generated by ``--import-mode=importlib`` would not include the
  child modules as attributes of the parent modules.
- Fixed error assertion handling in :func:`pytest.approx` when ``None`` is an expected or received value when comparing dictionaries.
- Fixed issue when using ``--import-mode=importlib`` together with ``--doctest-modules`` that caused modules
  to be imported more than once, causing problems with modules that have import side effects.


(adam)
diff -r1.116 -r1.117 pkgsrc/devel/py-test/Makefile
diff -r1.102 -r1.103 pkgsrc/devel/py-test/distinfo

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

--- pkgsrc/devel/py-test/Makefile 2023/06/26 16:03:50 1.116
+++ pkgsrc/devel/py-test/Makefile 2023/09/05 18:58:32 1.117
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.116 2023/06/26 16:03:50 adam Exp $ 1# $NetBSD: Makefile,v 1.117 2023/09/05 18:58:32 adam Exp $
2 2
3DISTNAME= pytest-7.4.0 3DISTNAME= pytest-7.4.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
13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
14TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm 14TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
16DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat 16DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
@@ -24,27 +24,26 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9] @@ -24,27 +24,26 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]
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 
38.if ${PYTHON_VERSION} < 311 37.if ${PYTHON_VERSION} < 311
39DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup 38DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup
40DEPENDS+= ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli 39DEPENDS+= ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
41.endif 40.endif
42 41
43post-install: 42post-install:
44 cd ${DESTDIR}${PREFIX}/bin && \ 43 cd ${DESTDIR}${PREFIX}/bin && \
45 ${MV} py.test py.test-${PYVERSSUFFIX} && \ 44 ${MV} py.test py.test-${PYVERSSUFFIX} && \
46 ${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE} 45 ${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE}
47 46
48# needs to be installed before testing 47# needs to be installed before testing
49# as of 7.2.0 48# as of 7.2.0
50# 6 failed, 3324 passed, 39 skipped, 11 xfailed 49# 6 failed, 3324 passed, 39 skipped, 11 xfailed

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

--- pkgsrc/devel/py-test/distinfo 2023/06/26 16:03:50 1.102
+++ pkgsrc/devel/py-test/distinfo 2023/09/05 18:58:32 1.103
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.102 2023/06/26 16:03:50 adam Exp $ 1$NetBSD: distinfo,v 1.103 2023/09/05 18:58:32 adam Exp $
2 2
3BLAKE2s (pytest-7.4.0.tar.gz) = 7ab1ad63fd75e5b6a620ed32fc67ac49645b67c3a68af71224e3ffef672b5a96 3BLAKE2s (pytest-7.4.1.tar.gz) = 2235c4b59b2179589c70f9ef0f2c4f76d1fa8c5ac4d699d9b1b1cdfc4e6d0a95
4SHA512 (pytest-7.4.0.tar.gz) = 48caca22c77e03cb3bca04d2f11695c48868433e6966b6f652f414b3b4405cb9dfba1ebdfd66060ba6add45609ec27b2eddd81d3739ef8e84a51b9da3c6f6099 4SHA512 (pytest-7.4.1.tar.gz) = b87e4d41026004b24aa05a39cdce33864e6ca9286894b4f94ab09ee88335bd8d82a8813328f84a0ad9d3db5e3a646d022bc4c7a94eeb281ac13c87d34d23e1da
5Size (pytest-7.4.0.tar.gz) = 1349733 bytes 5Size (pytest-7.4.1.tar.gz) = 1352174 bytes