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:   wiz
Date:           Thu Mar 26 14:47:55 UTC 2026

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

Log Message:
py-test-cov: update to 7.1.0.

7.1.0 (2026-03-21)
------------------

* Fixed total coverage computation to always be consistent, regardless of reporting settings.
  Previously some reports could produce different total counts, and consequently can make --cov-fail-under behave different depending on
  reporting options.
  See `#641 <https://github.com/pytest-dev/pytest-cov/issues/641>`_.

* Improve handling of ResourceWarning from sqlite3.

  The plugin adds warning filter for sqlite3 ``ResourceWarning`` unclosed database (since 6.2.0).
  It checks if there is already existing plugin for this message by comparing filter regular expression.
  When filter is specified on command line the message is escaped and does not match an expected message.
  A check for an escaped regular expression is added to handle this case.

  With this fix one can suppress ``ResourceWarning`` from sqlite3 from command line::

    pytest -W "ignore:unclosed database in <sqlite3.Connection object at:ResourceWarning" ...
* Various improvements to documentation.
  Contributed by Art Pelling in `#718 <https://github.com/pytest-dev/pytest-cov/pull/718>`_ and
  "vivodi" in `#738 <https://github.com/pytest-dev/pytest-cov/pull/738>`_.
  Also closed `#736 <https://github.com/pytest-dev/pytest-cov/issues/736>`_.
* Fixed some assertions in tests.
  Contributed by in Markéta Machová in `#722 <https://github.com/pytest-dev/pytest-cov/pull/722>`_.
* Removed unnecessary coverage configuration copying (meant as a backup because reporting commands had configuration side-effects before coverage 5.0).


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-test-cov/Makefile
cvs rdiff -u -r1.26 -r1.27 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.29 pkgsrc/devel/py-test-cov/Makefile:1.30
--- pkgsrc/devel/py-test-cov/Makefile:1.29      Fri Oct 10 08:48:29 2025
+++ pkgsrc/devel/py-test-cov/Makefile   Thu Mar 26 14:47:55 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.29 2025/10/10 08:48:29 adam Exp $
+# $NetBSD: Makefile,v 1.30 2026/03/26 14:47:55 wiz Exp $
 
-DISTNAME=      pytest_cov-7.0.0
+DISTNAME=      pytest_cov-7.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-cov/}
@@ -22,8 +22,8 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-virtualenv
 USE_LANGUAGES= # none
 
 # needs to be installed for testing, this setting is not enoough
-# as of 4.0.0:
-# 3 failed, 115 passed, 6 skipped, 4 xpassed, 1 warning
+# as of 7.1.0:
+# 1 failed, 205 passed, 3 skipped
 TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
 
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/devel/py-test-cov/distinfo
diff -u pkgsrc/devel/py-test-cov/distinfo:1.26 pkgsrc/devel/py-test-cov/distinfo:1.27
--- pkgsrc/devel/py-test-cov/distinfo:1.26      Fri Oct 10 08:48:29 2025
+++ pkgsrc/devel/py-test-cov/distinfo   Thu Mar 26 14:47:55 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.26 2025/10/10 08:48:29 adam Exp $
+$NetBSD: distinfo,v 1.27 2026/03/26 14:47:55 wiz Exp $
 
-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
+BLAKE2s (pytest_cov-7.1.0.tar.gz) = 2fe96b3c269bfbfecb5943d5b99921ae56cecd2b2322c62c5c7d2e7b526f89cf
+SHA512 (pytest_cov-7.1.0.tar.gz) = 914e24466a4049b1ee712e5cda516e7bb004b2fdd00851e448eaec14110eaceba5a965728183dcf36f2a2b25bf45ea9b662b8aa89b999c15929c4cc992af11bb
+Size (pytest_cov-7.1.0.tar.gz) = 55592 bytes



Home | Main Index | Thread Index | Old Index