Skip to content

Bump coverage from 7.17.3 to 7.17.5 - #799

Merged
github-actions[bot] merged 1 commit into
masterfrom
dependabot/pip/coverage-7.17.5
Nov 26, 2026
Merged

github-actions[bot] merged 1 commit into
masterfrom
dependabot/pip/coverage-7.17.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 26, 2026

Copy link
Copy Markdown
Contributor

Bumps coverage from 7.17.3 to 7.17.5.

Release notes

Sourced from coverage's releases.

7.17.5

Version 7.17.5 — 2026-11-23

  • Fix: the reporting commands (report, html, xml, json, lcov, and annotate) used to put the current directory first on sys.path, to let plugins import local files. Now the current directory is added only if plugins are configured, and at the end of sys.path, so local files can’t replace other modules.
  • Fix: local plugins interfered with erase and combine as reported in issue 1726. This is now fixed (pull 2253).
  • Fix: with the sysmon core on Python 3.14, starting and stopping a second Coverage object stopped the first one from measuring code it had already run. Closes issue 2302.
  • Fix: combining data files failed with “Conflicting file tracer name” when one data file only listed a file without measuring it (as unexecuted source files are) and another measured the same file with a plugin. This happened in pytest-cov’s distributed testing. Now a file with no measurements doesn’t conflict with a plugin’s measurements. Fixes issue 2358.
  • Fix: saving data while another thread started measuring a new file handled by a plugin could fail with “dictionary changed size during iteration”. Fixed in pull 2382.
  • Fix: a keyboard interrupt at just the wrong moment could leave a lock locked and prevent saving data, as reported in issue 2383. This is now fixed (pull 2396).

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

7.17.4

Version 7.17.4 — 2026-11-20

  • Fix: since 7.13.1, a parallel data file could be named with the hash of different data than it held, for example when nbval records a notebook’s coverage into pytest-cov’s data file. Combining could then skip it as a duplicate and lose its data. Now the hash comes from the data in the file when it is saved. Fixes issue 2370 with pull 2387.
  • Fix: lines or arcs recorded by other threads while data was being flushed (for example during Coverage.get_data(), Coverage.save(), or dynamic context switches) could be lost. This is now fixed, closing issue 2384.
  • Fix: on Python 3.14 with the pure-Python tracer (COVERAGE_CORE=pytrace) and branch measurement, a function that returned right after an except* handler recorded an arc with no line number. Reporting on the data then failed with a TypeError. Now that arc is not recorded. pull 2403.
  • Fix: in the JSON report with show_contexts, each function and class had the contexts for every line in the file. Now they only have the contexts for their own lines. Closes issue 2374.
  • The first entry in a [paths] list is the result path, and must be an actual file path. If it contained wildcards, the rule could never be used and was silently ignored. It is now reported as a configuration error. Closes issue 1531.
  • Fix: a configuration file (.coveragerc, setup.cfg, tox.ini or pyproject.toml) saved with a UTF-8 byte order mark couldn’t be read. Now a leading BOM is ignored. pull 2388.

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

Changelog

Sourced from coverage's changelog.

Version 7.17.5 — 2026-11-23

  • Fix: the reporting commands (report, html, xml, json, lcov, and annotate) used to put the current directory first on sys.path, to let plugins import local files. Now the current directory is added only if plugins are configured, and at the end of sys.path, so local files can't replace other modules.

  • Fix: local plugins interfered with erase and combine as reported in issue 1726. This is now fixed (pull 2253).

  • Fix: with the sysmon core on Python 3.14, starting and stopping a second Coverage object stopped the first one from measuring code it had already run. Closes issue 2302_.

  • Fix: combining data files failed with "Conflicting file tracer name" when one data file only listed a file without measuring it (as unexecuted source files are) and another measured the same file with a plugin. This happened in pytest-cov's distributed testing. Now a file with no measurements doesn't conflict with a plugin's measurements. Fixes issue 2358_.

  • Fix: saving data while another thread started measuring a new file handled by a plugin could fail with "dictionary changed size during iteration". Fixed in pull 2382_.

  • Fix: a keyboard interrupt at just the wrong moment could leave a lock locked and prevent saving data, as reported in issue 2383. This is now fixed (pull 2396).

.. _issue 1726: coveragepy/coveragepy#1726 .. _pull 2253: coveragepy/coveragepy#2253 .. _issue 2302: coveragepy/coveragepy#2302 .. _issue 2358: coveragepy/coveragepy#2358 .. _pull 2382: coveragepy/coveragepy#2382 .. _issue 2383: coveragepy/coveragepy#2383 .. _pull 2396: coveragepy/coveragepy#2396

.. _changelog-7.17.4:

Version 7.17.4 — 2026-11-20

  • Fix: since 7.13.1, a parallel data file could be named with the hash of different data than it held, for example when nbval records a notebook's coverage into pytest-cov's data file. Combining could then skip it as a duplicate and lose its data. Now the hash comes from the data in the file when it is saved. Fixes issue 2370_ with pull 2387_.

... (truncated)

Commits
  • f1a83cf docs: sample HTML for 7.17.5
  • fb2a447 docs: prep for 7.17.5
  • bde95fa fix: prevent a metacov deadlock
  • 0d6501e ci: always measure metacov in the testsuite, drop metacov as separate jobs
  • bc42cc3 Fix: local plugins are importable for erase and combine #1726 (#2253)
  • 2e689ba fix: plugins should have the current dir at the end of sys.path
  • f521f63 build: misc action cleanups
  • e3e2646 build: a final step in coverage.yml to require
  • ae0735c fix: keep measuring seen code after a nested sysmon Coverage stops #2302 (#2410)
  • a538aa9 test: replace two slow tests with a focused mocking test
  • 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.3 to 7.17.5.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.17.3...7.17.5)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.17.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 26, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) November 26, 2026 22:42
@github-actions
github-actions Bot merged commit ad8d99e into master Nov 26, 2026
23 checks passed
@github-actions
github-actions Bot deleted the dependabot/pip/coverage-7.17.5 branch November 26, 2026 22:44
@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.70%. Comparing base (f98bcea) to head (cce083a).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #799   +/-   ##
=======================================
  Coverage   95.70%   95.70%           
=======================================
  Files          22       22           
  Lines        2118     2118           
  Branches      123      123           
=======================================
  Hits         2027     2027           
  Misses         72       72           
  Partials       19       19           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants