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:           Mon Nov 10 11:42:15 UTC 2025

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

Log Message:
py-coverage: updated to 7.11.3

Version 7.11.3 — 2025-11-09

- Fix: the 7.11.1 changes meant that conflicts between a requested measurement
  core and other settings would raise an error. This was a breaking change from
  previous behavior, as reported in `issue 2076`_ and `issue 2078`_.

  The previous behavior has been restored: when the requested core conflicts
  with other settings, another core is used instead, and a warning is issued.

- For contributors: the repo has moved from Ned's `nedbat GitHub account`_ to
  the `coveragepy GitHub organization`_. The default branch has changed from
  master to main.

Version 7.11.2 — 2025-11-08

- Fix: using the "sysmon" measurement core in 7.11.1, if Python code was
  claimed to come from a non-Python file, a ``NotPython`` exception could be
  raised. This could happen for example with Jinja templates compiled to
  Python, as reported in `issue 2077`_. This is now fixed.

- Doc: corrected the first entry in the 7.11.1 changelog.

Version 7.11.1 — 2025-11-07

- Fix: some chanages to details of how the measurement core is chosen, and how
  conflicting settings are handled. The "sysmon" core cannot be used with some
  conurrency settings, with dynamic context, and in Python 3.12/3.13, with
  branch measurement.

  - If the core is not specified and defaults to "sysmon" (Python 3.14+), but
    other settings conflict with sysmon, then the "ctrace" core will be used
    instead with no warning. For concurrency conflicts, this used to produce an
    error, as described in `issue 2064`_.

  - If the "sysmon" core is explicitly requested in your configuration, but
    other settings conflict, an error is now raised. This used to produce a
    warning.

- Fix: some multi-line case clauses or for loops (and probably other
  constructs) could cause incorrect claims of missing branches with the
  sys.monitoring core, as described in `issue 2070`_. This is now fixed.

- Fix: when running in pytest under coverage, a ``breakpoint()`` would stop in
  the wrong frame, one level down from where it should, as described in `issue
  1420`_. This was due to a coverage change in v6.4.1 that seemed to give a
  slight performance improvement, but I couldn't reproduce the performance
  gain, so it's been reverted, fixing the debugger problem.

- A new debug option ``--debug=core`` shows which core is in use and why.

- Split ``sqlite`` debugging information out of the ``sys`` :ref:`coverage
  debug <cmd_debug>` and :ref:`cmd_run_debug` options since it's bulky and not
  very useful.

- Updated the :ref:`howitworks` page to better describe the three different
  measurement cores.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 pkgsrc/devel/py-coverage/Makefile
cvs rdiff -u -r1.66 -r1.67 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.80 pkgsrc/devel/py-coverage/Makefile:1.81
--- pkgsrc/devel/py-coverage/Makefile:1.80      Thu Oct 23 15:15:54 2025
+++ pkgsrc/devel/py-coverage/Makefile   Mon Nov 10 11:42:14 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.80 2025/10/23 15:15:54 adam Exp $
+# $NetBSD: Makefile,v 1.81 2025/11/10 11:42:14 adam Exp $
 
-DISTNAME=      coverage-7.11.0
+DISTNAME=      coverage-7.11.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/coverage/}

Index: pkgsrc/devel/py-coverage/distinfo
diff -u pkgsrc/devel/py-coverage/distinfo:1.66 pkgsrc/devel/py-coverage/distinfo:1.67
--- pkgsrc/devel/py-coverage/distinfo:1.66      Thu Oct 23 15:15:54 2025
+++ pkgsrc/devel/py-coverage/distinfo   Mon Nov 10 11:42:14 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.66 2025/10/23 15:15:54 adam Exp $
+$NetBSD: distinfo,v 1.67 2025/11/10 11:42:14 adam Exp $
 
-BLAKE2s (coverage-7.11.0.tar.gz) = ea1d1f6a5260249140e3dfaf34a2006b51943dad91d23d7dcc91849e74ee0733
-SHA512 (coverage-7.11.0.tar.gz) = 35eb8239a7a32570d6d04f537ee22a0edc63f4ae621595a3404fc267919d7b468cad1398c1a7c8d320cf449dd8ddcfe03900812365e135e0839b120e142a364a
-Size (coverage-7.11.0.tar.gz) = 811905 bytes
+BLAKE2s (coverage-7.11.3.tar.gz) = bcfece89dc0d0a8f7018597eb60848d0a7c7898934c6009d934fb03bf8dc25d5
+SHA512 (coverage-7.11.3.tar.gz) = 5fb8724f04a212a1a18843e9500487b54dca24aac056817c109a125a149f10c0544e7d7e89dd5d6769641f89a486fed1cc1f6fdfbab103201a58a97350fbac67
+Size (coverage-7.11.3.tar.gz) = 815210 bytes



Home | Main Index | Thread Index | Old Index