pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-test-cov



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Oct 10 08:48:29 UTC 2025

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

Log Message:
py-test-cov: updated to 7.0.0

7.0.0 (2025-09-09)

* Dropped support for subprocesses measurement.

  It was a feature added long time ago when coverage lacked a nice way to measure subprocesses created in tests.
  It relied on a ``.pth`` file, there was no way to opt-out and it created bad interations
  with `coverage's new patch system <https://coverage.readthedocs.io/en/latest/config.html#run-patch>`_ added
  in `7.10 <https://coverage.readthedocs.io/en/7.10.6/changes.html#version-7-10-0-2025-07-24>`_.

  To migrate to this release you might need to enable the suprocess patch, example for ``.coveragerc``:

  .. code-block:: ini

    [run]
    patch = subprocess

  This release also requires at least coverage 7.10.6.
* Switched packaging to have metadata completely in ``pyproject.toml`` and use `hatchling <https://pypi.org/project/hatchling/>`_ for
  building.
* Removed some not really necessary testing deps like ``six``.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-test-cov/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-test-cov/PLIST
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/py-test-cov/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-cov/Makefile
diff -u pkgsrc/devel/py-test-cov/Makefile:1.28 pkgsrc/devel/py-test-cov/Makefile:1.29
--- pkgsrc/devel/py-test-cov/Makefile:1.28      Sun Sep  7 16:03:03 2025
+++ pkgsrc/devel/py-test-cov/Makefile   Fri Oct 10 08:48:29 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2025/09/07 16:03:03 adam Exp $
+# $NetBSD: Makefile,v 1.29 2025/10/10 08:48:29 adam Exp $
 
-DISTNAME=      pytest_cov-6.3.0
+DISTNAME=      pytest_cov-7.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-cov/}
@@ -10,11 +10,11 @@ HOMEPAGE=   https://github.com/pytest-dev/
 COMMENT=       Pytest plugin for measuring coverage
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-DEPENDS+=      ${PYPKGPREFIX}-coverage>=7.5:../../devel/py-coverage
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme>0:../../devel/py-hatch-fancy-pypi-readme
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>0:../../devel/py-hatchling
+DEPENDS+=      ${PYPKGPREFIX}-coverage>=7.10.6:../../devel/py-coverage
 DEPENDS+=      ${PYPKGPREFIX}-pluggy>=1.2:../../devel/py-pluggy
-DEPENDS+=      ${PYPKGPREFIX}-test>=6.2.5:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-fields-[0-9]*:../../devel/py-fields
+DEPENDS+=      ${PYPKGPREFIX}-test>=7:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-process-tests-[0-9]*:../../devel/py-process-tests
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
 TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv

Index: pkgsrc/devel/py-test-cov/PLIST
diff -u pkgsrc/devel/py-test-cov/PLIST:1.4 pkgsrc/devel/py-test-cov/PLIST:1.5
--- pkgsrc/devel/py-test-cov/PLIST:1.4  Sat Apr 12 11:51:10 2025
+++ pkgsrc/devel/py-test-cov/PLIST      Fri Oct 10 08:48:29 2025
@@ -1,21 +1,13 @@
-@comment $NetBSD: PLIST,v 1.4 2025/04/12 11:51:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2025/10/10 08:48:29 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS.rst
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
-${PYSITELIB}/pytest-cov.pth
 ${PYSITELIB}/pytest_cov/__init__.py
 ${PYSITELIB}/pytest_cov/__init__.pyc
 ${PYSITELIB}/pytest_cov/__init__.pyo
-${PYSITELIB}/pytest_cov/compat.py
-${PYSITELIB}/pytest_cov/compat.pyc
-${PYSITELIB}/pytest_cov/compat.pyo
-${PYSITELIB}/pytest_cov/embed.py
-${PYSITELIB}/pytest_cov/embed.pyc
-${PYSITELIB}/pytest_cov/embed.pyo
 ${PYSITELIB}/pytest_cov/engine.py
 ${PYSITELIB}/pytest_cov/engine.pyc
 ${PYSITELIB}/pytest_cov/engine.pyo

Index: pkgsrc/devel/py-test-cov/distinfo
diff -u pkgsrc/devel/py-test-cov/distinfo:1.25 pkgsrc/devel/py-test-cov/distinfo:1.26
--- pkgsrc/devel/py-test-cov/distinfo:1.25      Sun Sep  7 16:03:03 2025
+++ pkgsrc/devel/py-test-cov/distinfo   Fri Oct 10 08:48:29 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.25 2025/09/07 16:03:03 adam Exp $
+$NetBSD: distinfo,v 1.26 2025/10/10 08:48:29 adam Exp $
 
-BLAKE2s (pytest_cov-6.3.0.tar.gz) = 369f033758c2e8d6782fe619c6e07b52c4159e5683f0c734af19ce9257d7a474
-SHA512 (pytest_cov-6.3.0.tar.gz) = 163b13aae0e335c7158614411f6ae2dc259b0c9de09e324ee909dc07992c2ee45b81e850bd13a0e00bf211af1a5262ef6cc2883c883b739a2be2e0efef5aee7c
-Size (pytest_cov-6.3.0.tar.gz) = 70398 bytes
+BLAKE2s (pytest_cov-7.0.0.tar.gz) = 45332566e94cf60bd54d2128b6fbec2f672bcba13ece2ca3d0660f27bd104e24
+SHA512 (pytest_cov-7.0.0.tar.gz) = 6a3822209b139b06f175e20549f997c532d1c1d9bc79fa3fdff9dca8ea870a110cf75056ddfb68fc447018033bd223c0de492be9a8c756a02739b70d3f2772a7
+Size (pytest_cov-7.0.0.tar.gz) = 54328 bytes



Home | Main Index | Thread Index | Old Index