Skip to content

Commit 6b3f526

Browse files
chore(deps-dev): update coverage requirement from 7.9.2 to 7.10.1 (#865)
Updates the requirements on [coverage](https://github.com/nedbat/coveragepy) to permit the latest version. <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.1 — 2025-07-27</h2> <ul> <li> <p>Fix: the exclusion for <code>if TYPE_CHECKING:</code> was wrong: it marked the branch as partial, but it should have been a line exclusion so the entire clause would be excluded. Improves <code>issue 831</code>_.</p> </li> <li> <p>Fix: changed where .pth files are written for <code>patch = subprocess</code>, closing <code>issue 2006</code>_.</p> </li> </ul> <p>.. _issue 2006: <a href="https://redirect.github.com/nedbat/coveragepy/issues/2006">nedbat/coveragepy#2006</a></p> <p>.. _changes_7-10-0:</p> <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> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nedbat/coveragepy/commit/7fdcbeb70255447199fb4501707aac39840ffba4"><code>7fdcbeb</code></a> docs: sample HTML for 7.10.1</li> <li><a href="https://github.com/nedbat/coveragepy/commit/c9e962586e30bdcc7e862dc12b8b4b7790cd8372"><code>c9e9625</code></a> docs: prep for 7.10.1</li> <li><a href="https://github.com/nedbat/coveragepy/commit/e8193ff919502be0a28d0922e4fd8e6eccc70e3c"><code>e8193ff</code></a> chore: make upgrade</li> <li><a href="https://github.com/nedbat/coveragepy/commit/9aad22a57a7163bf7e8d593112715c409193c643"><code>9aad22a</code></a> test: improve the <code>if TYPE_CHECKING:</code> exclusion test</li> <li><a href="https://github.com/nedbat/coveragepy/commit/1e2f41a756191898d4f1936fa01165d52ec9e624"><code>1e2f41a</code></a> fix: excluding TYPE_CHECKING should have been the line not the branch</li> <li><a href="https://github.com/nedbat/coveragepy/commit/2134e57af92b95b2ef883e756bb0d6b926b6eac1"><code>2134e57</code></a> fix: use getsitepackages for writing .pth files. <a href="https://redirect.github.com/nedbat/coveragepy/issues/2006">#2006</a></li> <li><a href="https://github.com/nedbat/coveragepy/commit/a4300a7e0f84683d92971ed0b8ac16e6c552f710"><code>a4300a7</code></a> test: signal statuses are mysterious. <a href="https://redirect.github.com/nedbat/coveragepy/issues/2008">#2008</a></li> <li><a href="https://github.com/nedbat/coveragepy/commit/2fd496182f9043e8e8471e58ca26c81a44a7b9a7"><code>2fd4961</code></a> docs: update the man page, for once</li> <li><a href="https://github.com/nedbat/coveragepy/commit/a13607f5da807a8ef5b483ce27c5e4779d1d4584"><code>a13607f</code></a> build: comment_on_fixes should show html urls</li> <li><a href="https://github.com/nedbat/coveragepy/commit/0f00d49a594c2dc3576714a0669fbdbcc4dd4c7e"><code>0f00d49</code></a> build: bump version to 7.10.1</li> <li>Additional commits viewable in <a href="https://github.com/nedbat/coveragepy/compare/7.9.2...7.10.1">compare view</a></li> </ul> </details> <br /> 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 0898cf7 commit 6b3f526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ xml-validation = ["lxml"]
8484

8585
[tool.poetry.group.dev.dependencies]
8686
ddt = "1.7.2"
87-
coverage = "7.9.2"
87+
coverage = "7.10.1"
8888
flake8 = "7.3.0"
8989
flake8-annotations = "3.1.1"
9090
flake8-bugbear = "24.12.12"

0 commit comments

Comments
 (0)