Skip to content

Commit 82cd79d

Browse files
⬆️ Update coverage requirement from <7.7,>=7.2.7 to >=7.2.7,<7.9 (#223)
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.8.0 — 2025-03-30</h2> <ul> <li> <p>Added a new <code>source_dirs</code> setting for symmetry with the existing <code>source_pkgs</code> setting. It's preferable to the existing <code>source</code> setting, because you'll get a clear error when directories don't exist. Fixes <code>issue 1942</code><em>. Thanks, <code>Jeremy Fleischman &lt;pull 1943_&gt;</code></em>.</p> </li> <li> <p>Fix: the PYTHONSAFEPATH environment variable new in Python 3.11 is properly supported, closing <code>issue 1696</code><em>. Thanks, <code>Philipp A. &lt;pull 1700_&gt;</code></em>. This works properly except for a detail when using the <code>coverage</code> command on Windows. There you can use <code>python -m coverage</code> instead if you need exact emulation.</p> </li> </ul> <p>.. _issue 1696: <a href="https://redirect.github.com/nedbat/coveragepy/issues/1696">nedbat/coveragepy#1696</a> .. _pull 1700: <a href="https://redirect.github.com/nedbat/coveragepy/pull/1700">nedbat/coveragepy#1700</a> .. _issue 1942: <a href="https://redirect.github.com/nedbat/coveragepy/issues/1942">nedbat/coveragepy#1942</a> .. _pull 1943: <a href="https://redirect.github.com/nedbat/coveragepy/pull/1943">nedbat/coveragepy#1943</a></p> <p>.. _changes_7-7-1:</p> <h2>Version 7.7.1 — 2025-03-21</h2> <ul> <li>A few small tweaks to the sys.monitoring support for Python 3.14. Please test!</li> </ul> <p>.. _changes_7-7-0:</p> <h2>Version 7.7.0 — 2025-03-16</h2> <ul> <li> <p>The Coverage object has a new method, :meth:<code>.Coverage.branch_stats</code> for getting simple branch information for a module. Closes <code>issue 1888</code>_.</p> </li> <li> <p>The :class:<code>Coverage constructor&lt;.Coverage&gt;</code> now has a <code>plugins</code> parameter for passing in plugin objects directly, thanks to <code>Alex Gaynor &lt;pull 1919_&gt;</code>_.</p> </li> <li> <p>Many constant tests in if statements are now recognized as being optimized away. For example, previously <code>if 13:</code> would have been considered a branch with one path not taken. Now it is understood as always true and no coverage is missing.</p> </li> <li> <p>The experimental sys.monitoring support now works for branch coverage if you are using Python 3.14.0 alpha 6 or newer. This should reduce the overhead coverage.py imposes on your test suite. Set the environment variable <code>COVERAGE_CORE=sysmon</code> to try it out.</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/6d5ced933f116d6ced5497ffbe7616db05b63e12"><code>6d5ced9</code></a> docs: sample HTML for 7.8.0</li> <li><a href="https://github.com/nedbat/coveragepy/commit/49c194fbb225039f3c2c029faecbc187aba37a9c"><code>49c194f</code></a> docs: prep for 7.8.0</li> <li><a href="https://github.com/nedbat/coveragepy/commit/38782cb5e481e24e139bd6cf08ec06e0438be4cd"><code>38782cb</code></a> docs: finish up source_dirs. bump to 7.8.0</li> <li><a href="https://github.com/nedbat/coveragepy/commit/7aea2f311eb073a74b0efb26065933f8572b1a2a"><code>7aea2f3</code></a> feat: add new <code>source_dirs</code> option (<a href="https://redirect.github.com/nedbat/coveragepy/issues/1943">#1943</a>)</li> <li><a href="https://github.com/nedbat/coveragepy/commit/f464155a3e43b4640c2ead9fb06674f33f61858a"><code>f464155</code></a> test: some simple bytecode tests</li> <li><a href="https://github.com/nedbat/coveragepy/commit/cf1dec0f05aaf581e9e6f7c707c7fa77ba77ade9"><code>cf1dec0</code></a> refactor: these pypy modules are available in all our versions</li> <li><a href="https://github.com/nedbat/coveragepy/commit/a87605265039b46570ae617f06941cfdbb95cba6"><code>a876052</code></a> test: a general helper for iterating over our own source files</li> <li><a href="https://github.com/nedbat/coveragepy/commit/82cff3e34836ff7248f4fb2e348c5f954e82b78e"><code>82cff3e</code></a> perf: sets are better than lists</li> <li><a href="https://github.com/nedbat/coveragepy/commit/a66bd61be0a01874dacf4238c1de5ef67ef325fe"><code>a66bd61</code></a> refactor: move bytecode code into bytecode.py</li> <li><a href="https://github.com/nedbat/coveragepy/commit/d64ce5f95473ec2c24485bb0261c536f55d0cb4a"><code>d64ce5f</code></a> chore: bump the action-dependencies group with 3 updates (<a href="https://redirect.github.com/nedbat/coveragepy/issues/1940">#1940</a>)</li> <li>Additional commits viewable in <a href="https://github.com/nedbat/coveragepy/compare/7.2.7...7.8.0">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 3ad6187 commit 82cd79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
coverage>=7.2.7,<7.7
1+
coverage>=7.2.7,<7.9
22
tornado>=6.2,<6.5
33
# 2.5 seems to break test_proxy_rejection by hanging forever
44
python-socks==2.4.4

0 commit comments

Comments
 (0)