Bump coverage from 5.1 to 5.4
Bumps coverage from 5.1 to 5.4.
Release notes
Sourced from coverage's releases.
coverage-5.4
- The text report produced by
coverage report
now 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_covered
andskip_empty
settings 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
--source
on 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.
coverage-5.3
- The
source
setting has always been interpreted as either a file path or a module, depending on which existed. If both interpretations were valid, it was assumed to be a file path. The newsource_pkgs
setting can be used to name a package to disambiguate this case. Thanks, Thomas Grainger. Fixes issue 268.- If a plugin was disabled due to an exception, we used to still try to record its information, causing an exception, as reported in issue 1011. This is now fixed.
coverage-5.2.1
- The dark mode HTML report still used light colors for the context listing, making them unreadable (issue 1009). This is now fixed.
- The time stamp on the HTML report now includes the time zone. Thanks, Xie Yanbo (pull request 960).
coverage-5.2
- The HTML report has been redesigned by Vince Salvino. There is now a dark mode, the code text is larger, and system sans serif fonts are used, in addition to other small changes (issue 858 and pull request 931).
- The
coverage report
andcoverage html
commands now accept a--precision
option to control the number of decimal points displayed. Thanks, Teake Nutma (pull request 982).- The
coverage report
andcoverage html
commands now accept a--no-skip-covered
option to negate--skip-covered
. Thanks, Anthony Sottile (issue 779 and pull request 932).- The
--skip-empty
option is now available for the XML report, closing issue 976.- The
coverage report
command now accepts a--sort
option to specify how to sort the results. Thanks, Jerin Peter George (pull request 1005).- If coverage fails due to the coverage total not reaching the
--fail-under
value, it will now print a message making the condition clear. Thanks, Naveen Yadav (pull request 977).- TOML configuration files with non-ASCII characters would cause errors on Windows (issue 990). This is now fixed.
- The output of
--debug=trace
now includes information about how the--source
option is being interpreted, and the module names being considered.
Changelog
Sourced from coverage's changelog.
Version 5.4 --- 2021-01-24
The text report produced by
coverage report
now 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_covered
andskip_empty
settings 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. Closesissue 1090
_.Combining files on Windows across drives now works properly, fixing
issue 577
. Thanks,Valentin Lab <pr1080_>
.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 <pep626_>
_... _issue 577: https://github.com/nedbat/coveragepy/issues/577 .. _issue 732: https://github.com/nedbat/coveragepy/issues/732 .. _issue 922: https://github.com/nedbat/coveragepy/issues/922 .. _issue 1084: https://github.com/nedbat/coveragepy/issues/1084 .. _issue 1086: https://github.com/nedbat/coveragepy/issues/1086 .. _issue 1090: https://github.com/nedbat/coveragepy/issues/1090 .. _pr1080: https://github.com/nedbat/coveragepy/pull/1080 .. _pep626: https://www.python.org/dev/peps/pep-0626/
.. _changes_531:
Version 5.3.1 --- 2020-12-19
... (truncated)
When using
--source
on a large source tree, v5.x was slower than previous versions. This performance regression is now fixed, closingissue 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 :ref:
Sleepy Snake <sleepy>
favicon.
Commits
-
4c8c34c
Remove unneeded slash -
96ae200
Prep for 5.4 -
6ce7b4e
Latest sample HTML -
a09b171
Simplify the testing of the toml extra, fixing #1084 -
94239ad
Add changelog for #1080 #577 -
dc0e806
fix: combine aliases on windows base dirs (ie:X:\
) (fixes: #577) -
b0710b1
skip_covered and skip_empty for HTML. #1090 -
6957366
I don't understand the codecov comments, so turn them off -
07ac031
Mention PEP 626 in the changelog -
5a76fa9
Better control over setup.py warnings - Additional commits viewable in compare view