diff mbox series

[meta-python,2/3] python3-coverage: Upgrade 7.17.5 -> 7.18.0

Message ID 20261130192649.2042324-2-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/3] python3-cachetools: Upgrade 8.0.3 -> 8.0.4 | expand

Commit Message

Leon Anavi Nov. 30, 2026, 7:26 p.m. UTC
Upgrade to release 7.18.0:

- Feature: [run] source (and --source) entries can now be glob
  patterns, for example packages/*/src. A pattern is expanded to
  the directories it matches when measurement starts, so monorepo
  packages are measured, and their un-executed files reported,
  without listing each one. A pattern that matches nothing issues a
  warning.
- Feature: two new methods for plug-ins to use in their test
  suites, as requested in issue 920. The Coverage.get_plugins()
  method returns the currently registered plug-ins, including
  disabled ones. The CoveragePlugin.is_enabled() method reports
  their current enabled state.
- Fix: lcov output now marks functions as starting on the first
  non-signature line, fixing errors about "inconsistent" tracefiles
  during combination.
- Fix: XML and LCOV reports now honor the report context filter
  when calculating coverage.
- Fix: when two source roots each contained a package with the same
  name, the XML report kept only one of the same-named files while
  still counting the lines of both, so lines-valid disagreed with
  the <line> elements in the document.
- Fix: with [html] show_contexts enabled, re-running the HTML
  report kept pages whose lines were unchanged, even when the
  contexts were different, so they showed stale contexts.
- Fix: with the C tracer and branch coverage, an error while
  starting to trace a function call (for example, RecursionError
  from should_trace when a new file is entered near the recursion
  limit) left the previous call's file in place. If the exception
  was caught, the function's return recorded arcs in that other
  file, which could report lines as executed that never ran. Now a
  call that fails to start records nothing.
- Fix: missing branch explanations for exits from a finally clause
  could incorrectly say a condition was always true, even when it
  was false while an exception or return was pending. These
  explanations now describe the missing jump without attributing it
  solely to the condition.
- Fix: if a directory for the data file or a report couldn't be
  created, the error was a raw traceback. Now the error message
  names the file that was being written.
- Perf: line coverage reports are faster when many measurement
  contexts cover the same file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{python3-coverage_7.17.5.bb => python3-coverage_7.18.0.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-coverage_7.17.5.bb => python3-coverage_7.18.0.bb} (84%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-coverage_7.17.5.bb b/meta-python/recipes-devtools/python/python3-coverage_7.18.0.bb
similarity index 84%
rename from meta-python/recipes-devtools/python/python3-coverage_7.17.5.bb
rename to meta-python/recipes-devtools/python/python3-coverage_7.18.0.bb
index dfa2ef2d09..522428b6ac 100644
--- a/meta-python/recipes-devtools/python/python3-coverage_7.17.5.bb
+++ b/meta-python/recipes-devtools/python/python3-coverage_7.18.0.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] = "4f41d35b798714a2e79ec2097d6b03c92cd3b7de58e422fce7a1ca2c0c25b276"
+SRC_URI[sha256sum] = "dd7258fab7dbc3bedcc94d6e9d4431408e390f080687b3463dbee3147715867f"
 
 inherit pypi python_setuptools_build_meta