Skip to content

Commit 4af3977

Browse files
Bump coverage[toml] from 7.9.2 to 7.10.3 (#228)
Bumps [coverage[toml]](https://github.com/nedbat/coveragepy) from 7.9.2 to 7.10.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nedbat/coveragepy/releases">coverage[toml]'s releases</a>.</em></p> <blockquote> <h2>7.10.3</h2> <h2>Version 7.10.3 — 2025-08-10</h2> <ul> <li>Fixes for <code>patch = subprocess</code>: <ul> <li>If subprocesses spawned yet more subprocesses simultaneously, some coverage could be missed. This is now fixed, closing <a href="https://redirect.github.com/nedbat/coveragepy/issues/2024">issue 2024</a>.</li> <li>If subprocesses were created in other directories, their data files were stranded there and not combined into the totals, as described in <a href="https://redirect.github.com/nedbat/coveragepy/issues/2025">issue 2025</a>. This is now fixed.</li> <li>On Windows (or maybe only some Windows?) the patch would fail with a <code>ModuleNotFound</code> error trying to import coverage. This is now fixed, closing <a href="https://redirect.github.com/nedbat/coveragepy/issues/2022">issue 2022</a>.</li> <li>Originally only options set in the coverage configuration file would apply to subprocesses. Options set on the <code>coverage run</code> command line (such as <code>--branch</code>) wouldn’t be communicated to the subprocesses. This could lead to combining failures, as described in <a href="https://redirect.github.com/nedbat/coveragepy/issues/2021">issue 2021</a>. Now the entire configuration is used in subprocesses, regardless of its origin.</li> <li>Added <code>debug=patch</code> to help diagnose problems.</li> </ul> </li> <li>Fix: really close all SQLite databases, even in-memory ones. Closes <a href="https://redirect.github.com/nedbat/coveragepy/issues/2017">issue 2017</a>.</li> </ul> <p>:arrow_right:  PyPI page: <a href="https://pypi.org/project/coverage/7.10.3">coverage 7.10.3</a>. :arrow_right:  To install: <code>python3 -m pip install coverage==7.10.3</code></p> <h2>7.10.2</h2> <h2>Version 7.10.2 — 2025-08-03</h2> <ul> <li>Fix: some code with NOP bytecodes could report missing branches that are actually executed. This is now fixed, closing <a href="https://redirect.github.com/nedbat/coveragepy/issues/1999">issue 1999</a>. Python 3.9 still shows the problem.</li> </ul> <p>:arrow_right:  PyPI page: <a href="https://pypi.org/project/coverage/7.10.2">coverage 7.10.2</a>. :arrow_right:  To install: <code>python3 -m pip install coverage==7.10.2</code></p> <h2>7.10.1</h2> <h2>Version 7.10.1 — 2025-07-27</h2> <ul> <li>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 <a href="https://redirect.github.com/nedbat/coveragepy/issues/831">issue 831</a>.</li> <li>Fix: changed where .pth files are written for <code>patch = subprocess</code>, closing <a href="https://redirect.github.com/nedbat/coveragepy/issues/2006">issue 2006</a>.</li> </ul> <p>:arrow_right:  PyPI page: <a href="https://pypi.org/project/coverage/7.10.1">coverage 7.10.1</a>. :arrow_right:  To install: <code>python3 -m pip install coverage==7.10.1</code></p> <h2>7.10.0</h2> <h2>Version 7.10.0 — 2025-07-24</h2> <ul> <li>A new configuration option: “<a href="https://coverage.readthedocs.io/en/latest/config.html#config-run-patch">[run] patch</a>” specifies named patches to work around some limitations in coverage measurement. These patches are available: <ul> <li><code>patch = _exit</code> lets coverage save its data even when <a href="https://docs.python.org/3/library/os.html#os._exit">https://docs.python.org/3/library/os.html#os._exit</a> is used to abruptly end the process. This closes long-standing <a href="https://redirect.github.com/nedbat/coveragepy/issues/310">issue 310</a> as well as its duplicates: <a href="https://redirect.github.com/nedbat/coveragepy/issues/312">issue 312</a>, <a href="https://redirect.github.com/nedbat/coveragepy/issues/1673">issue 1673</a>, <a href="https://redirect.github.com/nedbat/coveragepy/issues/1845">issue 1845</a>, and <a href="https://redirect.github.com/nedbat/coveragepy/issues/1941">issue 1941</a>.</li> <li><code>patch = subprocess</code> measures coverage in Python subprocesses created with <a href="https://docs.python.org/3/library/subprocess.html#module-subprocess">https://docs.python.org/3/library/subprocess.html#module-subprocess</a>, <a href="https://docs.python.org/3/library/os.html#os.system">https://docs.python.org/3/library/os.html#os.system</a>, or one of the <a href="https://docs.python.org/3/library/os.html#os.execl">https://docs.python.org/3/library/os.html#os.execl</a> or <a href="https://docs.python.org/3/library/os.html#os.spawnl">https://docs.python.org/3/library/os.html#os.spawnl</a> family of functions. Closes old <a href="https://redirect.github.com/nedbat/coveragepy/issues/367">issue 367</a>, its duplicate <a href="https://redirect.github.com/nedbat/coveragepy/issues/378">issue 378</a> and old <a href="https://redirect.github.com/nedbat/coveragepy/issues/689">issue 689</a>.</li> <li><code>patch = execv</code> adjusts the <a href="https://docs.python.org/3/library/os.html#os.execl">https://docs.python.org/3/library/os.html#os.execl</a> family of functions to save coverage data before ending the current program and starting the next. Not available on Windows. Closes <a href="https://redirect.github.com/nedbat/coveragepy/issues/43">issue 43</a> after 15 years!</li> </ul> </li> <li>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 <a href="https://redirect.github.com/nedbat/coveragepy/issues/1308">issue 1308</a>.</li> <li>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 <a href="https://redirect.github.com/nedbat/coveragepy/issues/831">issue 831</a>.</li> <li>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, <a href="https://redirect.github.com/nedbat/coveragepy/pull/1998">Arkady Gilinsky</a>.</li> <li>A new configuration option: “<a href="https://coverage.readthedocs.io/en/latest/config.html#config-report-partial-also">[report] partial_also</a>” is a list of regexes to add as pragmas for partial branches. This parallels the “<a href="https://coverage.readthedocs.io/en/latest/config.html#config-report-exclude-also">[report] exclude_also</a>” setting for adding line exclusion patterns.</li> <li>A few file path configuration settings didn’t allow for tilde expansion: <a href="https://coverage.readthedocs.io/en/latest/config.html#config-json-output">[json] output</a>, <a href="https://coverage.readthedocs.io/en/latest/config.html#config-lcov-output">[lcov] output</a> and <a href="https://coverage.readthedocs.io/en/latest/config.html#config-run-debug-file">[run] debug_file</a>. This is now fixed.</li> <li>Wheels are included for 3.14 now that 3.14 rc1 is available.</li> <li>We no longer ship a PyPy-specific wheel. PyPy will install the pure-Python wheel. Closes <a href="https://redirect.github.com/nedbat/coveragepy/issues/2001">issue 2001</a>.</li> <li>In the very unusual situation of not having a current frame, coverage no longer crashes when using the sysmon core, fixing <a href="https://redirect.github.com/nedbat/coveragepy/issues/2005">issue 2005</a>.</li> </ul> <p>:arrow_right:  PyPI page: <a href="https://pypi.org/project/coverage/7.10.0">coverage 7.10.0</a>. :arrow_right:  To install: <code>python3 -m pip install coverage==7.10.0</code></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst">coverage[toml]'s changelog</a>.</em></p> <blockquote> <h2>Version 7.10.3 — 2025-08-10</h2> <ul> <li> <p>Fixes for <code>patch = subprocess</code>:</p> <ul> <li> <p>If subprocesses spawned yet more subprocesses simultaneously, some coverage could be missed. This is now fixed, closing <code>issue 2024</code>_.</p> </li> <li> <p>If subprocesses were created in other directories, their data files were stranded there and not combined into the totals, as described in <code>issue 2025</code>_. This is now fixed.</p> </li> <li> <p>On Windows (or maybe only some Windows?) the patch would fail with a <code>ModuleNotFound</code> error trying to import coverage. This is now fixed, closing <code>issue 2022</code>_.</p> </li> <li> <p>Originally only options set in the coverage configuration file would apply to subprocesses. Options set on the <code>coverage run</code> command line (such as <code>--branch</code>) wouldn't be communicated to the subprocesses. This could lead to combining failures, as described in <code>issue 2021</code>_. Now the entire configuration is used in subprocesses, regardless of its origin.</p> </li> <li> <p>Added <code>debug=patch</code> to help diagnose problems.</p> </li> </ul> </li> <li> <p>Fix: really close all SQLite databases, even in-memory ones. Closes <code>issue 2017</code>_.</p> </li> </ul> <p>.. _issue 2017: <a href="https://redirect.github.com/nedbat/coveragepy/issues/2017">nedbat/coveragepy#2017</a> .. _issue 2021: <a href="https://redirect.github.com/nedbat/coveragepy/issues/2021">nedbat/coveragepy#2021</a> .. _issue 2022: <a href="https://redirect.github.com/nedbat/coveragepy/issues/2022">nedbat/coveragepy#2022</a> .. _issue 2024: <a href="https://redirect.github.com/nedbat/coveragepy/issues/2024">nedbat/coveragepy#2024</a> .. _issue 2025: <a href="https://redirect.github.com/nedbat/coveragepy/issues/2025">nedbat/coveragepy#2025</a></p> <p>.. _changes_7-10-2:</p> <h2>Version 7.10.2 — 2025-08-03</h2> <ul> <li>Fix: some code with NOP bytecodes could report missing branches that are actually executed. This is now fixed, closing <code>issue 1999</code>_. Python 3.9 still shows the problem.</li> </ul> <p>.. _issue 1999: <a href="https://redirect.github.com/nedbat/coveragepy/issues/1999">nedbat/coveragepy#1999</a></p> <p>.. _changes_7-10-1:</p> <h2>Version 7.10.1 — 2025-07-27</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nedbat/coveragepy/commit/0691ce5d08ae2eb6cae51f879ffe609aeb14d221"><code>0691ce5</code></a> docs: sample HTML for 7.10.3</li> <li><a href="https://github.com/nedbat/coveragepy/commit/34c9aca951d2c89ab0af5343a9a1c5cc7b00aefd"><code>34c9aca</code></a> docs: prep for 7.10.3</li> <li><a href="https://github.com/nedbat/coveragepy/commit/fd83f218e21058f43c7544a3cb01ce84714965f7"><code>fd83f21</code></a> style: lists for homogenous collections</li> <li><a href="https://github.com/nedbat/coveragepy/commit/d9618002dde634898613f5935092cefbb29035f0"><code>d961800</code></a> docs: remove an unused reference</li> <li><a href="https://github.com/nedbat/coveragepy/commit/697d4bb3950b31dc7f5d39d9dcf67fabde9db241"><code>697d4bb</code></a> fix: subprocesses inherit the entire configuration. <a href="https://redirect.github.com/nedbat/coveragepy/issues/2021">#2021</a></li> <li><a href="https://github.com/nedbat/coveragepy/commit/b6db3b7e52e4820bd1d3e43b29f700a5f31f3937"><code>b6db3b7</code></a> build: show the total during local metacov</li> <li><a href="https://github.com/nedbat/coveragepy/commit/cfbceb584b18f87fdc6228fc4a8202d789e030cc"><code>cfbceb5</code></a> docs: reverted <a href="https://redirect.github.com/nedbat/coveragepy/issues/2018">#2018</a></li> <li><a href="https://github.com/nedbat/coveragepy/commit/264bbd3d2c2ee9eca32248c5874423c0b6ff6287"><code>264bbd3</code></a> refactor: more patch logging</li> <li><a href="https://github.com/nedbat/coveragepy/commit/3ecdfafc74bd2b007b561e6ac6b080c04e598b06"><code>3ecdfaf</code></a> chore: bump the action-dependencies group with 2 updates (<a href="https://redirect.github.com/nedbat/coveragepy/issues/2026">#2026</a>)</li> <li><a href="https://github.com/nedbat/coveragepy/commit/41a225698710c9005da822978930be69312d1676"><code>41a2256</code></a> fix: revert &quot;thread safe resume (<a href="https://redirect.github.com/nedbat/coveragepy/issues/2018">#2018</a>)&quot; (<a href="https://redirect.github.com/nedbat/coveragepy/issues/2027">#2027</a>)</li> <li>Additional commits viewable in <a href="https://github.com/nedbat/coveragepy/compare/7.9.2...7.10.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=coverage[toml]&package-manager=pip&previous-version=7.9.2&new-version=7.10.3)](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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 84f28ae commit 4af3977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
coverage[toml]==7.9.2
1+
coverage[toml]==7.10.3
22
flake8==7.3.0
33
mypy==1.17.0
44
pyperf==2.9.0

0 commit comments

Comments
 (0)