Skip to content

Commit 40ed4b6

Browse files
Bump coverage from 7.9.2 to 7.10.0 (#11346)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.9.2 to 7.10.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst">coverage's changelog</a>.</em></p> <blockquote> <h2>Version 7.10.0 — 2025-07-24</h2> <ul> <li> <p>A new configuration option: &quot;:ref:<code>config_run_patch</code>&quot; specifies named patches to work around some limitations in coverage measurement. These patches are available:</p> <ul> <li> <p><code>patch = _exit</code> lets coverage save its data even when :func:<code>os._exit() &lt;python:os._exit&gt;</code> is used to abruptly end the process. This closes long-standing <code>issue 310</code>_ as well as its duplicates: <code>issue 312</code><em>, <code>issue 1673</code></em>, <code>issue 1845</code><em>, and <code>issue 1941</code></em>.</p> </li> <li> <p><code>patch = subprocess</code> measures coverage in Python subprocesses created with :mod:<code>subprocess</code>, :func:<code>os.system</code>, or one of the :func:<code>execv &lt;python:os.execl&gt;</code> or :func:<code>spawnv &lt;python:os.spawnl&gt;</code> family of functions. Closes old <code>issue 367</code>_ and duplicate <code>issue 378</code>_.</p> </li> <li> <p><code>patch = execv</code> adjusts the :func:<code>execv &lt;python:os.execl&gt;</code> family of functions to save coverage data before ending the current program and starting the next. Not available on Windows. Closes <code>issue 43</code>_ after 15 years!</p> </li> </ul> </li> <li> <p>The HTML report now dimly colors subsequent lines in multi-line statements. They used to have no color. This gives a better indication of the amount of code missing in the report. Closes <code>issue 1308</code>_.</p> </li> <li> <p>Two new exclusion patterns are part of the defaults: <code>...</code> is automatically excluded as a line and <code>if TYPE_CHECKING:</code> is excluded as a branch. Closes <code>issue 831</code>_.</p> </li> <li> <p>A new command-line option: <code>--save-signal=USR1</code> specifies a signal that coverage.py will listen for. When the signal is sent, the coverage data will be saved. This makes it possible to save data from within long-running processes. Thanks, <code>Arkady Gilinsky &lt;pull 1998_&gt;</code>_.</p> </li> <li> <p>A new configuration option: &quot;:ref:<code>config_report_partial_also</code>&quot; is a list of regexes to add as pragmas for partial branches. This parallels the &quot;:ref:<code>config_report_exclude_also</code>&quot; setting for adding line exclusion patterns.</p> </li> <li> <p>A few file path configuration settings didn't allow for tilde expansion: :ref:<code>config_json_output</code>, :ref:<code>config_lcov_output</code> and :ref:<code>config_run_debug_file</code>. This is now fixed.</p> </li> <li> <p>Wheels are included for 3.14 now that 3.14 rc1 is available.</p> </li> <li> <p>We no longer ship a PyPy-specific wheel. PyPy will install the pure-Python wheel. Closes <code>issue 2001</code>_.</p> </li> <li> <p>In the very unusual situation of not having a current frame, coverage no</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nedbat/coveragepy/commit/ef59be09c1ae2ef2ae575b7d42260b808668a6a5"><code>ef59be0</code></a> build: missed an expected distribution count</li> <li><a href="https://github.com/nedbat/coveragepy/commit/f49f061e838e5b3460a65e988ed2ddcb0e4b245d"><code>f49f061</code></a> docs: sample HTML for 7.10.0</li> <li><a href="https://github.com/nedbat/coveragepy/commit/6a7d5ca228a612ecb0cdd86f953fda645bf92fcd"><code>6a7d5ca</code></a> docs: prep for 7.10.0</li> <li><a href="https://github.com/nedbat/coveragepy/commit/395c8cde2266029c148a66b55fe5f48ddf41190a"><code>395c8cd</code></a> build: provide 3.14 wheels</li> <li><a href="https://github.com/nedbat/coveragepy/commit/6154fda156f25ed147c3619fdb35342812a549e6"><code>6154fda</code></a> feat: patch=execv</li> <li><a href="https://github.com/nedbat/coveragepy/commit/787e5c4366e581060e683c418d945e0da7f628d8"><code>787e5c4</code></a> test: we don't use 'expensive' as a mark now</li> <li><a href="https://github.com/nedbat/coveragepy/commit/7e49831cedc82f3cbcfd64ed50c57e59ea702d0a"><code>7e49831</code></a> refactor: patch=_exit without a global</li> <li><a href="https://github.com/nedbat/coveragepy/commit/4d4ddd87ddfa59c9d7b88c2c2d9fc6183668b483"><code>4d4ddd8</code></a> fix: better ellipsis exclusion regex. <a href="https://redirect.github.com/nedbat/coveragepy/issues/831">#831</a></li> <li><a href="https://github.com/nedbat/coveragepy/commit/d578c52754c2bc14f6503fdd003727282170a2b2"><code>d578c52</code></a> fix: don't assume we have a current frame. <a href="https://redirect.github.com/nedbat/coveragepy/issues/2005">#2005</a></li> <li><a href="https://github.com/nedbat/coveragepy/commit/ecf53d59ffce23b80fadeb52811258fe091ef2a2"><code>ecf53d5</code></a> docs: remind myself what the cores are</li> <li>Additional commits viewable in <a href="https://github.com/nedbat/coveragepy/compare/7.9.2...7.10.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=coverage&package-manager=pip&previous-version=7.9.2&new-version=7.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 9dc7d98 commit 40ed4b6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ click==8.1.8
5454
# slotscheck
5555
# towncrier
5656
# wait-for-it
57-
coverage==7.9.2
57+
coverage==7.10.0
5858
# via
5959
# -r requirements/test.in
6060
# pytest-cov

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ click==8.1.8
5454
# slotscheck
5555
# towncrier
5656
# wait-for-it
57-
coverage==7.9.2
57+
coverage==7.10.0
5858
# via
5959
# -r requirements/test.in
6060
# pytest-cov

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cffi==1.17.1
2727
# pytest-codspeed
2828
click==8.1.8
2929
# via wait-for-it
30-
coverage==7.9.2
30+
coverage==7.10.0
3131
# via
3232
# -r requirements/test.in
3333
# pytest-cov

0 commit comments

Comments
 (0)