Skip to content

build(deps): bump coverage from 7.16.2 to 7.17.4 - #3801

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps coverage from 7.16.2 to 7.17.4.

Release notes

Sourced from coverage's releases.

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

7.17.3

Version 7.17.3 — 2026-11-11

  • Fix: using patch = fork, a child process wasn’t measured unless patch = subprocess was also used, as described in issue 2340. This is now fixed in pull 2342.
  • Fix: the JSON report keys functions and classes by name, but names can repeat, for example a property getter and setter. Only the last one was kept, so the others were missing from the report. Now repeated names get a @<line number> suffix, as in the LCOV report. pull 2353.
  • Fix: when combining parallel data files, a file that disappears after it has been listed (for example, when the process writing it is still finishing its write) is now reported with a warning, instead of stopping the combine with a DataError. This was a regression in 7.17.1. Closes issue 2364.
  • Fix: with patch = subprocess on Python 3.13, a measured subprocess that was stopped with SIGINT would exit with status 1 instead of dying from the signal. This was a regression in 7.17.1, and is now fixed, closing issue 2362.
  • Performance: on Python 3.13 and later, using the C tracer should result in test suites running about 8% to 12% faster (pull 2371).

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

7.17.2

Version 7.17.2 — 2026-11-04

  • Fix: two different scenarios failed with “attempt to write a readonly database”. These were regressions in 7.17.1. They are fixed, closing issue 2356:
    • When using a version of SQLite older than 3.34.0, such as on RHEL 8 or Ubuntu 20.04, coverage combine (and pytest-cov, which combines automatically) always failed.
    • coverage combine and coverage debug data failed when a data file existed but had no coverage schema, for example an empty file left behind by a worker that died. A file we can’t read is now reported like any other unusable data file, and is left in place.

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

7.17.1

Version 7.17.1 — 2026-11-03

  • 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, closing issue 2167 and issue 2337.
  • 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”. Closes issue 2295.
  • 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. Closes issue 2291.
  • In an abundance of caution, prevent forged SQLite journal files from deleting files they shouldn’t.

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

7.17.0

Version 7.17.0 — 2026-10-22

... (truncated)

Changelog

Sourced from coverage's changelog.

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

.. _issue 1531: coveragepy/coveragepy#1531 .. _issue 2370: coveragepy/coveragepy#2370 .. _issue 2374: coveragepy/coveragepy#2374 .. _issue 2384: coveragepy/coveragepy#2384 .. _pull 2387: coveragepy/coveragepy#2387 .. _pull 2388: coveragepy/coveragepy#2388 .. _pull 2403: coveragepy/coveragepy#2403

.. _changelog-7.17.3:

Version 7.17.3 — 2026-11-11

  • Fix: using patch = fork, a child process wasn't measured unless patch = subprocess was also used, as described in issue 2340. This is now fixed in pull 2342.

  • Fix: the JSON report keys functions and classes by name, but names can

... (truncated)

Commits
  • fd8e601 docs: sample HTML for 7.17.4
  • 1d3dd4b docs: prep for 7.17.4
  • ef5624e refactor: this function is no longer needed
  • faafe4e fix: preserve data recorded by other threads during flush_data #2384 (#2397)
  • 475ffad fix: reject wildcard result paths in [paths] configuration (#2367)
  • ec9e8a0 build: upgrading ppc64le runner (#2407)
  • dc27b72 build: run the kit workflow on pull requests if needed
  • bb70a55 Merge branch 'nedbat/pytracer-tweaks'
  • ded1001 test: pytracer.py never gets coverage-measured.
  • 44c491f fix: don't record a None line on return after except* with pytrace (#2403)
  • 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.16.2 to 7.17.4.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.16.2...7.17.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested review from rewtd and sydseter as code owners November 24, 2026 06:54
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 24, 2026
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