Bump coverage[toml] from 7.10.7 to 7.13.1
Bumps coverage[toml] from 7.10.7 to 7.13.1.
Release notes
Sourced from coverage[toml]'s releases.
7.13.1
Version 7.13.1 — 2025-12-28
- Added: the JSON report now includes a
"start_line"key for function and class regions, indicating the first line of the region in the source. Closes issue 2110.- Added: The
debug datacommand now takes file names as arguments on the command line, so you can inspect specific data files without needing to set theCOVERAGE_FILEenvironment variable.- Fix: the JSON report used to report module docstrings as executed lines, which no other report did, as described in issue 2105. This is now fixed, thanks to Jianrong Zhao.
- Fix: coverage.py uses a more disciplined approach to detecting where third-party code is installed, and avoids measuring it. This shouldn’t change any behavior. If you find that it does, please get in touch.
- Performance: data files that will be combined now record their hash as part of the file name. This lets us skip duplicate data more quickly, speeding the combining step.
- Docs: added a section explaining more about what is considered a missing branch and how it is reported: Examples of missing branches, as requested in issue 1597. Thanks to Ayisha Mohammed.
- Tests: the test suite misunderstood what core was being tested if
COVERAGE_COREwasn’t set on 3.14+. This is now fixed, closing issue 2109.:arrow_right: PyPI page: coverage 7.13.1. :arrow_right: To install:
python3 -m pip install coverage==7.13.17.13.0
Version 7.13.0 — 2025-12-08
- Feature: coverage.py now supports
.coveragerc.tomlconfiguration files. These files use TOML syntax and take priority overpyproject.tomlbut lower priority than.coveragercfiles. Closes issue 1643 thanks to Olena Yefymenko.- Fix: we now include a permanent .pth file which is installed with the code, fixing issue 2084. In 7.12.1b1 this was done incorrectly: it didn’t work when using the source wheel (
py3-none-any). This is now fixed. Thanks, Henry Schreiner.- Deprecated: when coverage.py is installed, it creates three command entry points:
coverage,coverage3, andcoverage-3.10(if installed for Python 3.10). The second and third of these are not needed and will eventually be removed. They still work for now, but print a message about their deprecation.:arrow_right: PyPI page: coverage 7.13.0. :arrow_right: To install:
python3 -m pip install coverage==7.13.07.12.1b1
Version 7.12.1b1 — 2025-11-30
- Fix: coverage.py now includes a permanent .pth file in the distribution which is installed with the code. This fixes issue 2084: failure to patch for subprocess measurement when site-packages is not writable.
:arrow_right: PyPI page: coverage 7.12.1b1. :arrow_right: To install:
python3 -m pip install coverage==7.12.1b17.12.0
Version 7.12.0 — 2025-11-18
- The HTML report now shows separate coverage totals for statements and branches, as well as the usual combined coverage percentage. Thanks to Ryuta Otsuka for the discussion and the implementation.
- The JSON report now includes separate coverage totals for statements and branches, thanks to Ryuta Otsuka.
- Fix:
except*clauses were not handled properly under the “sysmon” measurement core, causing KeyError exceptions as described in issue 2086. This is now fixed.- Fix: we now defend against aggressive mocking of
open()that could cause errors inside coverage.py. An example of a failure is in issue 2083.- Fix: in unusual cases where a test suite intentionally exhausts the system’s file descriptors to test handling errors in
open(), coverage.py would fail when trying to open source files, as described in issue 2091. This is now fixed.- A small tweak to the HTML report: file paths now use thin spaces around slashes to make them easier to read.
:arrow_right: PyPI page: coverage 7.12.0. :arrow_right: To install:
python3 -m pip install coverage==7.12.07.11.3
Version 7.11.3 — 2025-11-09
- Fix: the 7.11.1 changes meant that conflicts between a requested measurement core and other settings would raise an error. This was a breaking change from previous behavior, as reported in issue 2076 and issue 2078.
... (truncated)
Changelog
Sourced from coverage[toml]'s changelog.
Version 7.13.1 — 2025-12-28
Added: the JSON report now includes a
"start_line"key for function and class regions, indicating the first line of the region in the source. Closesissue 2110_.Added: The
debug datacommand now takes file names as arguments on the command line, so you can inspect specific data files without needing to set theCOVERAGE_FILEenvironment variable.Fix: the JSON report used to report module docstrings as executed lines, which no other report did, as described in
issue 2105_. This is now fixed, thanks to Jianrong Zhao.Fix: coverage.py uses a more disciplined approach to detecting where third-party code is installed, and avoids measuring it. This shouldn't change any behavior. If you find that it does, please get in touch.
Performance: data files that will be combined now record their hash as part of the file name. This lets us skip duplicate data more quickly, speeding the combining step.
Docs: added a section explaining more about what is considered a missing branch and how it is reported: :ref:
branch_explain, as requested inissue 1597. Thanks toAyisha Mohammed <pull 2092_>.Tests: the test suite misunderstood what core was being tested if
COVERAGE_COREwasn't set on 3.14+. This is now fixed, closingissue 2109_... _issue 1597: coveragepy/coveragepy#1597 .. _pull 2092: coveragepy/coveragepy#2092 .. _issue 2105: coveragepy/coveragepy#2105 .. _issue 2109: coveragepy/coveragepy#2109 .. _issue 2110: coveragepy/coveragepy#2110
.. _changes_7-13-0:
Version 7.13.0 — 2025-12-08
Feature: coverage.py now supports :file:
.coveragerc.tomlconfiguration files. These files use TOML syntax and take priority over :file:pyproject.tomlbut lower priority than :file:.coveragercfiles. Closesissue 1643_ thanks toOlena Yefymenko <pull 1952_>_.Fix: we now include a permanent .pth file which is installed with the code, fixing
issue 2084_. In 7.12.1b1 this was done incorrectly: it didn't work when using the source wheel (py3-none-any). This is now fixed. Thanks,
... (truncated)
Commits
a6afdc3docs: sample HTML for 7.13.1a497081docs: prep for 7.13.1e992033docs: polish up CHANGES18bba6echore: bump the action-dependencies group with 4 updates (#2111)80fb808refactor: (?x:...) lets us use re.VERBOSE even when combining latercc272bddocs: leave a comment so we'll find this when 3.12 is the minimum70d007dtypes: be explicita2c1940types: fully import modules that will be patched57b975dtypes: explicit Protocol inheritance permits changing parameter names63ec12dtypes: clarify that morfs arguments can be a single morf- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)