Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update coverage requirement from ~=7.6 to ~=7.7 #2707

Merged
merged 3 commits into from
Mar 19, 2025

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on coverage to permit the latest version.

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:

Version 7.6.12 — 2025-02-11

  • Fix: some aarch64 distributions were missing (issue 1927_). These are now building reliably.

.. _issue 1927: nedbat/coveragepy#1927

.. _changes_7-6-11:

Version 7.6.11 — 2025-02-08

  • Fix: a memory leak in CTracer has been fixed. The details are in issue 1924_ and pytest-dev 676_. This should reduce the memory footprint for everyone even if it hadn't caused a problem before.

  • We now ship a py3-none-any.whl wheel file. Thanks, Russell Keith-Magee <pull 1914_>_.

.. _pull 1914: nedbat/coveragepy#1914 .. _issue 1924: nedbat/coveragepy#1924

... (truncated)

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

You can trigger a rebase of this PR 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)

@dependabot dependabot bot added the dependency Related to dependencies of the project label Mar 17, 2025
Updates the requirements on [coverage](https://github.com/nedbat/coveragepy) to permit the latest version.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.6.0...7.7.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@Pierre-Sassoulas Pierre-Sassoulas force-pushed the dependabot/pip/coverage-approx-eq-7.7 branch from 047ecd0 to d048b22 Compare March 19, 2025 21:47
We're merging a lot of MR with red tests which looks worst.
@Pierre-Sassoulas Pierre-Sassoulas force-pushed the dependabot/pip/coverage-approx-eq-7.7 branch 2 times, most recently from ba67aff to 4711d24 Compare March 19, 2025 22:02
@Pierre-Sassoulas Pierre-Sassoulas force-pushed the dependabot/pip/coverage-approx-eq-7.7 branch from 4711d24 to 05d3383 Compare March 19, 2025 22:03
Copy link

codecov bot commented Mar 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.21%. Comparing base (db6ce7f) to head (05d3383).
Report is 20 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2707      +/-   ##
==========================================
+ Coverage   93.19%   93.21%   +0.01%     
==========================================
  Files          93       93              
  Lines       11070    11071       +1     
==========================================
+ Hits        10317    10320       +3     
+ Misses        753      751       -2     
Flag Coverage Δ
linux 93.08% <ø> (-0.01%) ⬇️
pypy 93.21% <ø> (+0.01%) ⬆️
windows 93.19% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Pierre-Sassoulas Pierre-Sassoulas merged commit 9faee90 into main Mar 19, 2025
20 checks passed
@Pierre-Sassoulas Pierre-Sassoulas deleted the dependabot/pip/coverage-approx-eq-7.7 branch March 19, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Related to dependencies of the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant