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: Tue Nov 3 14:08:25 UTC 2026
Modified Files:
pkgsrc/devel/py-coverage: Makefile distinfo
Log Message:
py-coverage: updated to 7.17.1
7.17.1 — 2026-11-03
- Fix: a one-line class or function body immediately followed by another
statement (such as ``class Foo: ...`` on its own line) was incorrectly
reported as a missing branch when using the sys.monitoring core. This is now
fixed, closing `issue 2167`_ and `issue 2337`_.
- Fix: the HTML report only rewrites a file's page when the file or its data
has changed, but each page also links to the previous and next files. When
the set of reported files changed, unchanged pages kept their old links. For
example, with ``skip_covered``, a file that became 100% covered had its page
deleted, but the pages next to it still linked to it. Now a page is also
rewritten when its neighbors change.
- Fix: ``--fail-under`` now uses at least the decimal precision of the
threshold for both the comparison and failure message. With ``precision=0``,
a total of 0.4 now passes ``--fail-under=0.3`` and fails ``--fail-under=0.5``
with the message "total of 0.4 is less than fail-under=0.5". Previously, the
comparison rounded the total to zero and the message could claim "1 is less
than 0". Closes `issue 2295`_.
- Fix: the HTML report escaped file names twice, so a name with ``&``, ``<``,
or quotes in it was shown with entities like ``&``. Now they are properly
escaped only once.
- Fix: ``--source=/`` measured no files. A file system root can't be a source
directory, so now it is an error. Closes `issue 2291`_.
- In an abundance of caution, prevent forged SQLite journal files from deleting
files they shouldn't.
To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 pkgsrc/devel/py-coverage/Makefile
cvs rdiff -u -r1.84 -r1.85 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.99 pkgsrc/devel/py-coverage/Makefile:1.100
--- pkgsrc/devel/py-coverage/Makefile:1.99 Thu Oct 22 16:33:20 2026
+++ pkgsrc/devel/py-coverage/Makefile Tue Nov 3 14:08:25 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.99 2026/10/22 16:33:20 adam Exp $
+# $NetBSD: Makefile,v 1.100 2026/11/03 14:08:25 adam Exp $
-DISTNAME= coverage-7.17.0
+DISTNAME= coverage-7.17.1
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.84 pkgsrc/devel/py-coverage/distinfo:1.85
--- pkgsrc/devel/py-coverage/distinfo:1.84 Thu Oct 22 16:33:20 2026
+++ pkgsrc/devel/py-coverage/distinfo Tue Nov 3 14:08:25 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.84 2026/10/22 16:33:20 adam Exp $
+$NetBSD: distinfo,v 1.85 2026/11/03 14:08:25 adam Exp $
-BLAKE2s (coverage-7.17.0.tar.gz) = 0a0870422f773ab742db3f57ca967dbd3c2fd885e65ac65d1441e714aef02b2b
-SHA512 (coverage-7.17.0.tar.gz) = 4afd80d4a368c9800fb2f83a530d4a08f87c72053030a793e6c003689f6c19b1d44ed949995dd6a92ad9fae985c37e74e4e64a324dd4f5f62ba0fc15a88b6991
-Size (coverage-7.17.0.tar.gz) = 991021 bytes
+BLAKE2s (coverage-7.17.1.tar.gz) = fbbd0dc1d838d4e00d7e39bf5a6d2ae531bb9e3f36ef639bdd84a7f3b268668e
+SHA512 (coverage-7.17.1.tar.gz) = 4f2b7da718dbccba85a9b672325d058720058fe77e63d59dd50a19e556e4c1b6ff906b2c56cd19fd9d6a6c068ef5e19dd861c18f839ef01cd4e5690943431b18
+Size (coverage-7.17.1.tar.gz) = 995565 bytes
Home |
Main Index |
Thread Index |
Old Index