Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 17, 2025

Bumps coverage from 7.6.12 to 7.7.0.

Changelog

Sourced from coverage's changelog.

Version 7.7.0 — 2025-03-16

  • The Coverage object has a new method, :meth:.Coverage.branch_stats for getting simple branch information for a module. Closes issue 1888_.

  • The :class:Coverage constructor<.Coverage> now has a plugins parameter for passing in plugin objects directly, thanks to Alex Gaynor <pull 1919_>_.

  • Many constant tests in if statements are now recognized as being optimized away. For example, previously if 13: would have been considered a branch with one path not taken. Now it is understood as always true and no coverage is missing.

  • 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 COVERAGE_CORE=sysmon to try it out.

  • Confirmed support for PyPy 3.11. Thanks Michał Górny.

.. _issue 1888: nedbat/coveragepy#1888 .. _pull 1919: nedbat/coveragepy#1919

.. _changes_7-6-12:

Commits
  • 61dcf71 docs: sample HTML for 7.7.0
  • 35a31c5 docs: prep for 7.7.0
  • 8f6e006 docs: edit the changelog
  • 33f12df feat: Coverage.branch_stats() #1888
  • c4919cb lint: somehow these snuck through
  • 7e9f2f2 perf(sysmon): silly mistake
  • 1e99d28 perf(sysmon): improve speed
  • c9908d7 test: benchmark improvements
  • 0973f44 chore: bump the action-dependencies group with 2 updates (#1935)
  • 824b3ba style: fix one change from updated pylint
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.12 to 7.7.0.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.6.12...7.7.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 17, 2025
@kevinjqliu kevinjqliu merged commit 450e046 into main Mar 18, 2025
7 checks passed
@kevinjqliu kevinjqliu deleted the dependabot/pip/coverage-7.7.0 branch March 18, 2025 03:27
gabeiglio pushed a commit to Netflix/iceberg-python that referenced this pull request Aug 13, 2025
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.6.12 to
7.7.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.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>
<li>
<p>Confirmed support for PyPy 3.11. Thanks Michał Górny.</p>
</li>
</ul>
<p>.. _issue 1888: <a
href="https://redirect.github.com/nedbat/coveragepy/issues/1888">nedbat/coveragepy#1888</a>
.. _pull 1919: <a
href="https://redirect.github.com/nedbat/coveragepy/pull/1919">nedbat/coveragepy#1919</a></p>
<p>.. _changes_7-6-12:</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/nedbat/coveragepy/commit/61dcf7188c18db699ebf542f362f00a5d0481281"><code>61dcf71</code></a>
docs: sample HTML for 7.7.0</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/35a31c5c2d642280e4f247469779a76ee5d03709"><code>35a31c5</code></a>
docs: prep for 7.7.0</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/8f6e00641e607307d77ae16cbe3cd5afb555c58c"><code>8f6e006</code></a>
docs: edit the changelog</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/33f12dfa365f3faa349d844e603b0432ba3476d3"><code>33f12df</code></a>
feat: Coverage.branch_stats() <a
href="https://redirect.github.com/nedbat/coveragepy/issues/1888">#1888</a></li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/c4919cbf84efef68c1e9572d8438204e64b32d4c"><code>c4919cb</code></a>
lint: somehow these snuck through</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/7e9f2f20c81a6ab49a19c42b1cd3c5ba4282d223"><code>7e9f2f2</code></a>
perf(sysmon): silly mistake</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/1e99d2881b1b60af1b889ea364e1ede018401740"><code>1e99d28</code></a>
perf(sysmon): improve speed</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/c9908d731187f515093105f76b5b4cc39dbff9ba"><code>c9908d7</code></a>
test: benchmark improvements</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/0973f44cc4a73bab859af74a3dd42078b0b2cc85"><code>0973f44</code></a>
chore: bump the action-dependencies group with 2 updates (<a
href="https://redirect.github.com/nedbat/coveragepy/issues/1935">#1935</a>)</li>
<li><a
href="https://github.com/nedbat/coveragepy/commit/824b3ba3efbbe07f188ce13e9a8143604747fece"><code>824b3ba</code></a>
style: fix one change from updated pylint</li>
<li>Additional commits viewable in <a
href="https://github.com/nedbat/coveragepy/compare/7.6.12...7.7.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.6.12&new-version=7.7.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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant