Bump coverage from 5.3 to 7.0.5
Bumps coverage from 5.3 to 7.0.5.
Release notes
Sourced from coverage's releases.
coverage-5.6b1
- Third-party packages are now ignored in coverage reporting. This solves a few problems:
- 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.coverage-5.5
coverage combinehas a new option,--keepto keep the original data files after combining them. The default is still to delete the files after they have been combined. This was requested in issue 1108 and implemented in pull request 1110. Thanks, Éric Larivière.- When reporting missing branches in
coverage report, branches aren’t reported that jump to missing lines. This adds to the long-standing behavior of not reporting branches from missing lines. Now branches are only reported if both the source and destination lines are executed. Closes both issue 1065 and issue 955.- Minor improvements to the HTML report:
- The state of the line visibility selector buttons is saved in local storage so you don’t have to fiddle with them so often, fixing issue 1123.
- It has a little more room for line numbers so that 4-digit numbers work well, fixing issue 1124.
- Improved the error message when combining line and branch data, so that users will be more likely to understand what’s happening, closing issue 803.
coverage-5.4
- The text report produced by
coverage reportnow always outputs a TOTAL line, even if only one Python file is reported. This makes regex parsing of the output easier. Thanks, Judson Neer. This had been requested a number of times (issue 1086, issue 922, issue 732).- The
skip_coveredandskip_emptysettings in the configuration file can now be specified in the[html]section, so that text reports and HTML reports can use separate settings. The HTML report will still use the[report]settings if there isn’t a value in the[html]section. Closes issue 1090.- Combining files on Windows across drives now works properly, fixing issue 577. Thanks, Valentin Lab.
- Fix an obscure warning from deep in the _decimal module, as reported in issue 1084.
- Update to support Python 3.10 alphas in progress, including PEP 626: Precise line numbers for debugging and other tools.
coverage-5.3.1
- When using
--sourceon a large source tree, v5.x was slower than previous versions. This performance regression is now fixed, closing issue 1037.- Mysterious SQLite errors can happen on PyPy, as reported in issue 1010. An immediate retry seems to fix the problem, although it is an unsatisfying solution.
- The HTML report now saves the sort order in a more widely supported way, fixing issue 986. Thanks, Sebastián Ramírez (pull request 1066).
- The HTML report pages now have a Sleepy Snake favicon.
- Wheels are now provided for manylinux2010, and for PyPy3 (pp36 and pp37).
- Continuous integration has moved from Travis and AppVeyor to GitHub Actions.
Changelog
Sourced from coverage's changelog.
Version 7.0.5 — 2023-01-10
- Fix: On Python 3.7, a file with type annotations but no
from __future__ import annotationswould be missing statements in the coverage report. This is now fixed, closingissue 1524_... _issue 1524: nedbat/coveragepy#1524
.. _changes_7-0-4:
Version 7.0.4 — 2023-01-07
- Performance: an internal cache of file names was accidentally disabled, resulting in sometimes drastic reductions in performance. This is now fixed, closing
issue 1527_. Thanks to Ivan Ciuvalschii for the reproducible test case... _issue 1527: nedbat/coveragepy#1527
.. _changes_7-0-3:
Version 7.0.3 — 2023-01-03
- Fix: when using pytest-cov or pytest-xdist, or perhaps both, the combining step could fail with
assert row is not Noneusing 7.0.2. This was due to a race condition that has always been possible and is still possible. In 7.0.1 and before, the error was silently swallowed by the combining code. Now it will produce a message "Couldn't combine data file" and ignore the data file as it used to do before 7.0.2. Closesissue 1522_... _issue 1522: nedbat/coveragepy#1522
.. _changes_7-0-2:
Version 7.0.2 — 2023-01-02
Fix: when using the
[run] relative_files = Truesetting, a relative[paths]pattern was still being made absolute. This is now fixed, closingissue 1519_.Fix: if Python doesn't provide tomllib, then TOML configuration files can only be read if coverage.py is installed with the
[toml]extra. Coverage.py will raise an error if TOML support is not installed when it sees
... (truncated)
Commits
97642c8docs: sample html for 7.0.5ba21763docs: prep for 7.0.5c55dffemypy: exclude fullcoverage/encodings.pyc9d473bmypy: install pytest alongside mypy to get its typesb893cb3mypy: execfile.py880a64afix: isolate user code from coverage.py internal code flags. #15248fef6f0mypy: test_venv.py08564c0mypy: templite.py test_templite.py65aad08mypy: test_testing.py test_version.py1321803mypy: test_parser.py test_phystokens.py test_process.py test_report.py test_r...- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
The following labels could not be found: type: maintenance.