From 9e5cd70983fbcd570f7e5140ef9e549bb6b39f58 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 5 Nov 2026 13:55:11 +0200 Subject: [PATCH] python3-coverage: Upgrade 7.17.0 -> 7.17.1 Upgrade to release 7.17.1: - 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. - 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". - 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. - In an abundance of caution, prevent forged SQLite journal files from deleting files they shouldn't. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../{python3-coverage_7.17.0.bb => python3-coverage_7.17.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-coverage_7.17.0.bb => python3-coverage_7.17.1.bb} (84%) diff --git a/meta-python/recipes-devtools/python/python3-coverage_7.17.0.bb b/meta-python/recipes-devtools/python/python3-coverage_7.17.1.bb similarity index 84% rename from meta-python/recipes-devtools/python/python3-coverage_7.17.0.bb rename to meta-python/recipes-devtools/python/python3-coverage_7.17.1.bb index 34c3d9487e..cfa7fe8fa6 100644 --- a/meta-python/recipes-devtools/python/python3-coverage_7.17.0.bb +++ b/meta-python/recipes-devtools/python/python3-coverage_7.17.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://coverage.readthedocs.io" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" -SRC_URI[sha256sum] = "cc010a0a7fbdd9bb8bdfd0d3f04a5151275860213cbd7e2b876b29778489c712" +SRC_URI[sha256sum] = "5c5c77f95a0e83e6b79eff948d251c9911cfd61d67f5059159fc25b7bc4aec27" inherit pypi python_setuptools_build_meta