-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit 40ed4b6
authored
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:
":ref:<code>config_run_patch</code>" 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() <python:os._exit></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 <python:os.execl></code> or
:func:<code>spawnv <python:os.spawnl></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
<python:os.execl></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 <pull 1998_></code>_.</p>
</li>
<li>
<p>A new configuration option:
":ref:<code>config_report_partial_also</code>" is a list of
regexes to add as pragmas for partial branches. This parallels the
":ref:<code>config_report_exclude_also</code>" 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 />
[](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 40ed4b6Copy full SHA for 40ed4b6
File tree
Expand file treeCollapse file tree
3 files changed
+3
-3
lines changedFilter options
- requirements
Expand file treeCollapse file tree
3 files changed
+3
-3
lines changedrequirements/constraints.txt
Copy file name to clipboardExpand all lines: requirements/constraints.txt+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
|
0 commit comments