pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-coverage



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep  2 07:30:01 UTC 2026

Modified Files:
        pkgsrc/devel/py-coverage: Makefile distinfo

Log Message:
py-coverage: updated to 7.16.0

7.16.0 — 2026-08-28

- When combining files, now path separator slashes will automatically be
  converted to the local file system style. This makes it less necessary to
  define ``[paths]`` configuration to combine data across operating systems.
  Fixes `issue 2266`_.

- The :meth:`.Coverage.switch_context` method now returns the previous context.

- Fix: previously, a ``[paths]`` pattern would be replaced everywhere in a file
  path when it was only meant to be replaced once, in the leading portion of
  the path. This is now fixed, in `pull 2268`_.

- Fixes to validation of options and configuration settings:

  - Negative precision settings now always cause useful error messages (`pull
    2261`_).

  - An invalid regex in the ``--contexts`` option (or the ``[report]
    contexts`` setting) reported a confusing "Couldn't use data file ...:
    user-defined function raised exception" error. Now it raises a proper
    configuration error naming the bad regex, like other regex settings do
    (`pull 2262`_).

  - Non-string values in TOML configuration settings now produce a helpful
    error message instead of a traceback.  This affects list settings whose
    elements aren't strings (like ``omit``, ``exclude_lines``, or a ``[paths]``
    entry), file settings like ``data_file``, and any wrong-typed value in the
    ``[paths]`` section (`pull 2263`_).

  - ``coverage run`` refuses run-affecting command-line options like
    ``--branch`` alongside ``--concurrency=multiprocessing``, since they can't
    reach the subprocesses.  The check only recognized ``multiprocessing`` as
    the entire option value, so ``--concurrency=multiprocessing,thread``
    slipped through and failed later with "Can't combine statement coverage
    data with branch data".  Each named concurrency library is now properly
    considered (`pull 2270`_).

- Fix: ``coverage annotate -d DIR`` raised an ``AssertionError`` if any
  measured file had an extension other than ``.py``, such as a ``.pyw`` file on
  Windows.  The original extension is now restored on the annotated copy (`pull
  2265`_).


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 pkgsrc/devel/py-coverage/Makefile
cvs rdiff -u -r1.80 -r1.81 pkgsrc/devel/py-coverage/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-coverage/Makefile
diff -u pkgsrc/devel/py-coverage/Makefile:1.94 pkgsrc/devel/py-coverage/Makefile:1.95
--- pkgsrc/devel/py-coverage/Makefile:1.94      Fri Aug  7 08:20:41 2026
+++ pkgsrc/devel/py-coverage/Makefile   Wed Sep  2 07:30:00 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.94 2026/08/07 08:20:41 adam Exp $
+# $NetBSD: Makefile,v 1.95 2026/09/02 07:30:00 adam Exp $
 
-DISTNAME=      coverage-7.15.4
+DISTNAME=      coverage-7.16.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/coverage/}
@@ -17,7 +17,7 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-test-xdist
 
 .include "../../lang/python/pyversion.mk"
 .if ${PYTHON_VERSION} < 311
-DEPENDS+=      ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
+DEPENDS+=      ${PYPKGPREFIX}-tomli>=0:../../textproc/py-tomli
 .endif
 
 post-install:

Index: pkgsrc/devel/py-coverage/distinfo
diff -u pkgsrc/devel/py-coverage/distinfo:1.80 pkgsrc/devel/py-coverage/distinfo:1.81
--- pkgsrc/devel/py-coverage/distinfo:1.80      Fri Aug  7 08:20:41 2026
+++ pkgsrc/devel/py-coverage/distinfo   Wed Sep  2 07:30:01 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.80 2026/08/07 08:20:41 adam Exp $
+$NetBSD: distinfo,v 1.81 2026/09/02 07:30:01 adam Exp $
 
-BLAKE2s (coverage-7.15.4.tar.gz) = e8ae58d0534cc58b7316412ea040e3ddb6d08f62ccde4dd9785aef5ffb915a7f
-SHA512 (coverage-7.15.4.tar.gz) = d0a0541e95e9e509aa8cd496a0cf1ae2da820bb3457c684e916bae18c654210d43f4919a4b72a633e48a8d5803c4e4654e2c03d07129bb5026d1ce6cbf1ef44e
-Size (coverage-7.15.4.tar.gz) = 936952 bytes
+BLAKE2s (coverage-7.16.0.tar.gz) = 25a01f06f5b5b2313c095a22bfb219644bbc61e433739025022b51f7a993043e
+SHA512 (coverage-7.16.0.tar.gz) = 2a63023d8ed89537ee20b766f07556979243f5eb72228972ad6b2f4c4cf9f79c85ec69c73fe5f8bc7120f8a358abe60b64281c96c128462b430f7ceb9f1ca83a
+Size (coverage-7.16.0.tar.gz) = 945620 bytes



Home | Main Index | Thread Index | Old Index