Update coverage requirement from <=7.5,>=5 to >=5,<=7.10.2
Type: Pull Request
State: Merged
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 0
(about 1 month ago)
(about 1 month ago)
(about 1 month ago)
by blink1073
dependencies python
Updates the requirements on coverage to permit the latest version.
Changelog
Sourced from coverage's changelog.
Version 7.10.2 — 2025-08-03
- Fix: some code with NOP bytecodes could report missing branches that are actually executed. This is now fixed, closing
issue 1999
_. Python 3.9 still shows the problem... _issue 1999: nedbat/coveragepy#1999
.. _changes_7-10-1:
Version 7.10.1 — 2025-07-27
Fix: the exclusion for
if TYPE_CHECKING:
was wrong: it marked the branch as partial, but it should have been a line exclusion so the entire clause would be excluded. Improvesissue 831
_.Fix: changed where .pth files are written for
patch = subprocess
, closingissue 2006
_... _issue 2006: nedbat/coveragepy#2006
.. _changes_7-10-0:
Version 7.10.0 — 2025-07-24
A new configuration option: ":ref:
config_run_patch
" specifies named patches to work around some limitations in coverage measurement. These patches are available:
patch = _exit
lets coverage save its data even when :func:os._exit() <python:os._exit>
is used to abruptly end the process. This closes long-standingissue 310
_ as well as its duplicates:issue 312
,issue 1673
,issue 1845
, andissue 1941
.
patch = subprocess
measures coverage in Python subprocesses created with :mod:subprocess
, :func:os.system
, or one of the :func:execv <python:os.execl>
or :func:spawnv <python:os.spawnl>
family of functions. Closes oldissue 367
_ and duplicateissue 378
_.
patch = execv
adjusts the :func:execv <python:os.execl>
family of functions to save coverage data before ending the current program and starting the next. Not available on Windows. Closesissue 43
_ after 15 years!The HTML report now dimly colors subsequent lines in multi-line statements.
... (truncated)
Commits
a867852
docs: sample HTML for 7.10.2e7bfabe
docs: prep for 7.10.25dbd736
test: this test often borks metacov, retry itb7430fa
debug: more convenient run_trace.pye2039d0
refactor: less redundancy in branch_trailsc177731
fix: see through nop bytecodes to get the right arcs. #19997a83ab0
test: don't try to make pth files when invoked from pth #20116d8b091
refactor: remove a commented-out linefc507ad
test: add a case for an extension-less Python file parse error05a6e8d
test: no need for skip, we already skip windows- Additional commits viewable in compare view
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)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
Technical Details
ID: | 4630971 |
UUID: | 2717636979 |
Node ID: | PR_kwDOAAGmE86h-9lz |
Host: | GitHub |
Repository: | mongodb/mongo-python-driver |
Merge State: | Unknown |