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 Jun 13 09:03:54 UTC 2025

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

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

6.2.1 (2025-06-12)

* Added a version requirement for pytest's pluggy dependency (1.2.0, released 2023-06-21) that has the required new-style hookwrapper API.
* Removed deprecated license classifier (packaging).
* Disabled coverage warnings in two more situations where they have no value:

  * "module-not-measured" in workers
  * "already-imported" in subprocesses

6.2.0 (2025-06-11)

* The plugin now adds 3 rules in the filter warnings configuration to prevent common coverage warnings being raised as obscure errors::

    default:unclosed database in <sqlite3.Connection object at:ResourceWarning
    once::PytestCovWarning
    once::CoverageWarning

  This fixes most of the bad interactions that are occurring on pytest 8.4 with ``filterwarnings=error``.

  The plugin will check if there already matching rules for the 3 categories
  (``ResourceWarning``, ``PytestCovWarning``, ``CoverageWarning``) and message (``unclosed database in <sqlite3.Connection object at``) before adding the filters.

  This means you can have this in your pytest configuration for complete oblivion (not recommended, if that is not clear)::

    filterwarnings = [
        "error",
        "ignore:unclosed database in <sqlite3.Connection object at:ResourceWarning",
        "ignore::PytestCovWarning",
        "ignore::CoverageWarning",
    ]


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/py-test-cov/Makefile
cvs rdiff -u -r1.23 -r1.24 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.26 pkgsrc/devel/py-test-cov/Makefile:1.27
--- pkgsrc/devel/py-test-cov/Makefile:1.26      Sat Apr 12 11:51:10 2025
+++ pkgsrc/devel/py-test-cov/Makefile   Fri Jun 13 09:03:53 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2025/04/12 11:51:10 adam Exp $
+# $NetBSD: Makefile,v 1.27 2025/06/13 09:03:53 adam Exp $
 
-DISTNAME=      pytest_cov-6.1.1
+DISTNAME=      pytest_cov-6.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-cov/}
@@ -12,11 +12,12 @@ LICENSE=    mit
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-coverage>=7.5:../../devel/py-coverage
-DEPENDS+=      ${PYPKGPREFIX}-test>=4.6:../../devel/py-test
+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
 TEST_DEPENDS+= ${PYPKGPREFIX}-process-tests-[0-9]*:../../devel/py-process-tests
-TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
+TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/devel/py-test-cov/distinfo
diff -u pkgsrc/devel/py-test-cov/distinfo:1.23 pkgsrc/devel/py-test-cov/distinfo:1.24
--- pkgsrc/devel/py-test-cov/distinfo:1.23      Sat Apr 12 11:51:10 2025
+++ pkgsrc/devel/py-test-cov/distinfo   Fri Jun 13 09:03:53 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2025/04/12 11:51:10 adam Exp $
+$NetBSD: distinfo,v 1.24 2025/06/13 09:03:53 adam Exp $
 
-BLAKE2s (pytest_cov-6.1.1.tar.gz) = 7c39264bdc530564916b09746fb3bb30f34d1649b69424326112b2aa2927c185
-SHA512 (pytest_cov-6.1.1.tar.gz) = 4716f00895916f989fb339a814173175f78af7aff20ef253708f9b7715535895ae06c9a130cfa13733a0bc7699baa4ac65df71f7f68866e34a34f1888f3e8859
-Size (pytest_cov-6.1.1.tar.gz) = 66857 bytes
+BLAKE2s (pytest_cov-6.2.1.tar.gz) = 2bb17f576d8d37a74c850c28be54980b29a67499db52c95da98f89883b3015d1
+SHA512 (pytest_cov-6.2.1.tar.gz) = 222afd20c6c3234729c5fe7c55fffcee5af03922316ee3e63e953869883787b89308a00f9aa691685792764fcc4099e034f813dbda9b384a432e10acc35c7383
+Size (pytest_cov-6.2.1.tar.gz) = 69432 bytes



Home | Main Index | Thread Index | Old Index