pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test
Module Name: pkgsrc
Committed By: adam
Date: Sun Dec 31 19:11:55 UTC 2023
Modified Files:
pkgsrc/devel/py-test: Makefile PLIST distinfo
Log Message:
py-test: updated to 7.4.4
pytest 7.4.4 (2023-12-31)
Bug Fixes
- Fix non-string constants at the top of file being detected as docstrings on Python>=3.8.
- Handle an edge case where :data:`sys.stderr` and :data:`sys.__stderr__` might already be closed when :ref:`faulthandler` is tearing down.
- Fixed tracebacks from collection errors not getting pruned.
- Removed unhelpful error message from assertion rewrite mechanism when exceptions are raised in ``__iter__`` methods. Now they are treated un-iterable instead.
Improved Documentation
- Updated documentation to refer to hyphenated options: replaced ``--junitxml`` with ``--junit-xml`` and ``--collectonly`` with ``--collect-only``.
To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 pkgsrc/devel/py-test/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-test/PLIST
cvs rdiff -u -r1.105 -r1.106 pkgsrc/devel/py-test/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/Makefile
diff -u pkgsrc/devel/py-test/Makefile:1.120 pkgsrc/devel/py-test/Makefile:1.121
--- pkgsrc/devel/py-test/Makefile:1.120 Wed Oct 25 08:37:18 2023
+++ pkgsrc/devel/py-test/Makefile Sun Dec 31 19:11:55 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.120 2023/10/25 08:37:18 adam Exp $
+# $NetBSD: Makefile,v 1.121 2023/12/31 19:11:55 adam Exp $
-DISTNAME= pytest-7.4.3
+DISTNAME= pytest-7.4.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/}
@@ -10,8 +10,8 @@ HOMEPAGE= https://pytest.org/
COMMENT= Python testing tool
LICENSE= mit
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=45.0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2.3:../../devel/py-setuptools_scm
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-iniconfig-[0-9]*:../../devel/py-iniconfig
DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
@@ -28,8 +28,6 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-xmlschema-
USE_LANGUAGES= # none
USE_TOOLS+= bash:build
-USE_PKG_RESOURCES= yes
-
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
@@ -43,12 +41,6 @@ post-install:
${MV} py.test py.test-${PYVERSSUFFIX} && \
${MV} pytest pytest-${PYVERSSUFFIX} || ${TRUE}
-# needs to be installed before testing
-# as of 7.2.0
-# 6 failed, 3324 passed, 39 skipped, 11 xfailed
-do-test:
- cd ${WRKSRC}/testing && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-
.include "../../lang/python/batteries-included.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test/PLIST
diff -u pkgsrc/devel/py-test/PLIST:1.23 pkgsrc/devel/py-test/PLIST:1.24
--- pkgsrc/devel/py-test/PLIST:1.23 Fri Oct 28 08:58:12 2022
+++ pkgsrc/devel/py-test/PLIST Sun Dec 31 19:11:55 2023
@@ -1,13 +1,12 @@
-@comment $NetBSD: PLIST,v 1.23 2022/10/28 08:58:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.24 2023/12/31 19:11:55 adam Exp $
bin/py.test-${PYVERSSUFFIX}
bin/pytest-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/_pytest/__init__.py
${PYSITELIB}/_pytest/__init__.pyc
${PYSITELIB}/_pytest/__init__.pyo
Index: pkgsrc/devel/py-test/distinfo
diff -u pkgsrc/devel/py-test/distinfo:1.105 pkgsrc/devel/py-test/distinfo:1.106
--- pkgsrc/devel/py-test/distinfo:1.105 Wed Oct 25 08:37:18 2023
+++ pkgsrc/devel/py-test/distinfo Sun Dec 31 19:11:55 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.105 2023/10/25 08:37:18 adam Exp $
+$NetBSD: distinfo,v 1.106 2023/12/31 19:11:55 adam Exp $
-BLAKE2s (pytest-7.4.3.tar.gz) = 9cc471635a85dffd1aa64950509fed3b11af221602362972d326d8f21191b4f8
-SHA512 (pytest-7.4.3.tar.gz) = 1b80e9b7e0ba8fe966d6658aa72d49d101190f255acd9eb81d66142327535b7108c921055d8fe3e330e3ff4163aa03d7c67b2807d433dd9e1799be6a59b208c9
-Size (pytest-7.4.3.tar.gz) = 1356179 bytes
+BLAKE2s (pytest-7.4.4.tar.gz) = 7477c64ef8f0b5bbb1084fa4c2bf6e8df48912a906aa337711f07ba566c9f627
+SHA512 (pytest-7.4.4.tar.gz) = 28a259dac6739683c131993409d508e10fbfee461291b8fc7697dd83f30725a3c60e681ba00b5669a215af6a5e683f07a329485d780acc9ad0372a6552f783a1
+Size (pytest-7.4.4.tar.gz) = 1357116 bytes
Home |
Main Index |
Thread Index |
Old Index