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 &amp;. 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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Leon Anavi authored and Khem Raj committed 2026-11-06 00:15:40 -08:00
1 parent 2fe963a4c1
commit 9e5cd70983
1 file changed
+1 -1
@@ -0,0 +1,22 @@
SUMMARY = "Code coverage measurement for Python"
HOMEPAGE = "https://coverage.readthedocs.io"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93"
SRC_URI[sha256sum] = "5c5c77f95a0e83e6b79eff948d251c9911cfd61d67f5059159fc25b7bc4aec27"
inherit pypi python_setuptools_build_meta
RDEPENDS:${PN} += " \
python3-crypt \
python3-io \
python3-json \
python3-multiprocessing \
python3-pprint \
python3-shell \
python3-sqlite3 \
python3-tomllib \
python3-xml \
"
BBCLASSEXTEND = "native nativesdk"