Bumps coverage from 5.5 to 7.2.3.
Release notes
Sourced from coverage's releases.
coverage-5.6b1
- Third-party packages are now ignored in coverage reporting. This solves a few problems:
- Coverage will no longer report about other people’s code (issue 876). This is true even when using
--source=.
with a venv in the current directory.
- Coverage will no longer generate "Already imported a file that will be measured" warnings about coverage itself (issue 905).
- The HTML report uses j/k to move up and down among the highlighted chunks of code. They used to highlight the current chunk, but 5.0 broke that behavior. Now the highlighting is working again.
- The JSON report now includes
percent_covered_display
, a string with the total percentage, rounded to the same number of decimal places as the other reports’ totals.
Changelog
Sourced from coverage's changelog.
Version 7.2.3 — 2023年04月06日
-
Fix: the :ref:config_run_sigterm
setting was meant to capture data if a
process was terminated with a SIGTERM signal, but it didn't always. This was
fixed thanks to Lewis Gaul <pull 1600_>
, closing issue 1599
.
-
Performance: HTML reports with context information are now much more compact.
File sizes are typically as small as one-third the previous size, but can be
dramatically smaller. This closes issue 1584
_ thanks to Oleh Krehel <pull 1587_>
_.
-
Development dependencies no longer use hashed pins, closing issue 1592
_.
.. _issue 1584: nedbat/coveragepy#1584
.. _pull 1587: nedbat/coveragepy#1587
.. _issue 1592: nedbat/coveragepy#1592
.. _issue 1599: nedbat/coveragepy#1599
.. _pull 1600: nedbat/coveragepy#1600
.. _changes_7-2-2:
Version 7.2.2 — 2023年03月16日
-
Fix: if a virtualenv was created inside a source directory, and a sourced
package was installed inside the virtualenv, then all of the third-party
packages inside the virtualenv would be measured. This was incorrect, but
has now been fixed: only the specified packages will be measured, thanks to
Manuel Jacob <pull 1560_>
_.
-
Fix: the coverage lcov
command could create a .lcov file with incorrect
LF (lines found) and LH (lines hit) totals. This is now fixed, thanks to
Ian Moore <pull 1583_>
_.
-
Fix: the coverage xml
command on Windows could create a .xml file with
duplicate <package>
elements. This is now fixed, thanks to Benjamin Parzella <pull 1574_>
, closing issue 1573
.
.. _pull 1560: nedbat/coveragepy#1560
.. _issue 1573: nedbat/coveragepy#1573
.. _pull 1574: nedbat/coveragepy#1574
.. _pull 1583: nedbat/coveragepy#1583
.. _changes_7-2-1:
Version 7.2.1 — 2023年02月26日
... (truncated)
Commits
6297f19
docs: sample HTML for 7.2.3
8cb979b
docs: prep for 7.2.3
6d5c4d4
docs: add the fix for #1599, thanks Lewis Gaul
f27c9ca
fix: save coverage data on SIGTERM (#1600)
3bc7d2c
chore: make upgrade
acd1e03
docs: more tweaking of the gold-file instructions
b8498bf
perf: make the context shortcodes even shorter
80b4794
build: update .git-blame-ignore-revs
b03ab92
style: use double-quotes in JavaScript
36d0104
chore: make upgrade to remove hashes
- 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 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 from 5.5 to 7.2.3.
Release notes
Sourced from coverage's releases.
Changelog
Sourced from coverage's changelog.
... (truncated)
Commits
6297f19
docs: sample HTML for 7.2.38cb979b
docs: prep for 7.2.36d5c4d4
docs: add the fix for #1599, thanks Lewis Gaulf27c9ca
fix: save coverage data on SIGTERM (#1600)3bc7d2c
chore: make upgradeacd1e03
docs: more tweaking of the gold-file instructionsb8498bf
perf: make the context shortcodes even shorter80b4794
build: update .git-blame-ignore-revsb03ab92
style: use double-quotes in JavaScript36d0104
chore: make upgrade to remove hashesDependabot 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 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)