Skip to content

Bump coverage from 7.17.5 to 7.18.0 - #14576

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/coverage-7.18.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/coverage-7.18.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 3, 2026

Copy link
Copy Markdown
Contributor

Bumps coverage from 7.17.5 to 7.18.0.

Release notes

Sourced from coverage's releases.

7.18.0

Version 7.18.0 — 2026-11-29

  • 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. Closes issue 2400.
  • 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. Closed issue 2394.
  • 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. Closes issue 1291.
  • 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. Closes issue 2372.
  • 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, closing issue 2385.
  • 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. Fixes issue 867.
  • 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.

➡️  PyPI page: coverage 7.18.0. :arrow_right:  To install: python3 -m pip install coverage==7.18.0

Changelog

Sourced from coverage's changelog.

Version 7.18.0 — 2026-11-29

  • 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. Closes issue 2400_.

  • Feature: two new methods for plug-ins to use in their test suites, as requested in issue 920_. The :meth:.Coverage.get_plugins method returns the currently registered plug-ins, including disabled ones. The :meth:.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. Closed issue 2394_.

  • 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. Closes issue 1291_.

  • 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. Closes issue 2372_.

  • 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, closing issue 2385_.

  • 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. Fixes issue 867_.

  • 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.

  • Performance: line coverage reports are faster when many measurement contexts cover the same file.

... (truncated)

Commits
  • 3fd8953 docs: sample HTML for 7.18.0
  • c9f8062 docs: prep for 7.18.0
  • cb613b4 ci: get ready for merge queue
  • 8d9c7c4 fix: a failed call in the C tracer records nothing #2385 (#2386)
  • 1531afa fix: honor context filters in XML and LCOV reports (#2418)
  • 6e3f185 fix(xml): keep same-named files from different source roots (closes #1291) (#...
  • bc83928 chore: bump the action-dependencies group with 2 updates (#2425)
  • dbb7446 fix: html report needs to notice when only contexts change #2372 (#2373)
  • 4365f41 docs: another issue closed
  • 49003e3 fix: make directory creation error messages more specific
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [coverage](https://github.com/coveragepy/coveragepy) from 7.17.5 to 7.18.0.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.17.5...7.18.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 3, 2026
@codecov

codecov Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.13%. Comparing base (b5acd43) to head (e3de71a).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #14576   +/-   ##
=======================================
  Coverage   99.13%   99.13%           
=======================================
  Files         135      135           
  Lines       54630    54630           
  Branches     2808     2808           
=======================================
  Hits        54158    54158           
  Misses        357      357           
  Partials      115      115           
Flag Coverage Δ
Autobahn 21.53% <ø> (ø)
CI-GHA 99.06% <ø> (ø)
OS-Linux 98.75% <ø> (ø)
OS-Windows 97.53% <ø> (ø)
OS-macOS 98.38% <ø> (-0.01%) ⬇️
Py-3.11 98.31% <ø> (-0.01%) ⬇️
Py-3.12 98.40% <ø> (ø)
Py-3.13 98.39% <ø> (-0.02%) ⬇️
Py-3.14 98.45% <ø> (-0.02%) ⬇️
Py-3.15 98.45% <ø> (ø)
Py-3.15t 98.30% <ø> (ø)
Py-pypy-3.12 97.00% <ø> (-0.01%) ⬇️
VM-macos-latest 98.38% <ø> (-0.01%) ⬇️
VM-ubuntu-latest 98.75% <ø> (ø)
VM-windows-latest 97.53% <ø> (ø)
cython-coverage 84.03% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@codspeed

codspeed Bot commented Dec 3, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

1 warning

⚠️ 50 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 102 untouched benchmarks
⏩ 83 skipped benchmarks1


Comparing dependabot/pip/coverage-7.18.0 (e3de71a) with master (b5acd43)

Open in CodSpeed

Footnotes

  1. 83 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants