nedbat/coveragepy
### [`v6.2`](https://togithub.com/nedbat/coveragepy/blob/master/CHANGES.rst#Version-62--2021-11-26)
[Compare Source](https://togithub.com/nedbat/coveragepy/compare/6.1.2...6.2)
- Feature: Now the `--concurrency` setting can now have a list of values, so
that threads and another lightweight threading package can be measured
together, such as `--concurrency=gevent,thread`. Closes `issue 1012`\_ and
`issue 1082`\_.
- Fix: A module specified as the `source` setting is imported during startup,
before the user program imports it. This could cause problems if the rest of
the program isn't ready yet. For example, `issue 1203`\_ describes a Django
setting that is accessed before settings have been configured. Now the early
import is wrapped in a try/except so errors then don't stop execution.
- Fix: A colon in a decorator expression would cause an exclusion to end too
early, preventing the exclusion of the decorated function. This is now fixed.
- Fix: The HTML report now will not overwrite a .gitignore file that already
exists in the HTML output directory (follow-on for `issue 1244`\_).
- API: The exceptions raised by Coverage.py have been specialized, to provide
finer-grained catching of exceptions by third-party code.
- API: Using `suffix=False` when constructing a Coverage object with
multiprocessing wouldn't suppress the data file suffix (`issue 989`\_). This
is now fixed.
- Debug: The `coverage debug data` command will now sniff out combinable data
files, and report on all of them.
- Debug: The `coverage debug` command used to accept a number of topics at a
time, and show all of them, though this was never documented. This no longer
works, to allow for command-line options in the future.
.. \_issue 989:[https://github.com/nedbat/coveragepy/issues/989](https://togithub.com/nedbat/coveragepy/issues/989)9
.. \_issue 1012[https://github.com/nedbat/coveragepy/issues/1012](https://togithub.com/nedbat/coveragepy/issues/1012)12
.. \_issue 108[https://github.com/nedbat/coveragepy/issues/1082](https://togithub.com/nedbat/coveragepy/issues/1082)082
.. \_issue 12[https://github.com/nedbat/coveragepy/issues/1203](https://togithub.com/nedbat/coveragepy/issues/1203)1203
.. \_changes\_612:
### [`v6.1.2`](https://togithub.com/nedbat/coveragepy/blob/master/CHANGES.rst#Version-612--2021-11-10)
[Compare Source](https://togithub.com/nedbat/coveragepy/compare/6.1.1...6.1.2)
- Python 3.11 is supported (tested with 3.11.0a2). One still-open issue has to
do with `exits through with-statements `\_.
- Fix: When remapping file paths through the `[paths]` setting while
combining, the `[run] relative_files` setting was ignored, resulting in
absolute paths for remapped file names (`issue 1147`\_). This is now fixed.
- Fix: Complex conditionals over excluded lines could have incorrectly reported
a missing branch (`issue 1271`\_). This is now fixed.
- Fix: More exceptions are now handled when trying to parse source files for
reporting. Problems that used to terminate coverage.py can now be handled
with `[report] ignore_errors`. This helps with plugins failing to read
files (`django_coverage_plugin issue 78`\_).
- Fix: Removed another vestige of jQuery from the source tarball
(`issue 840`\_).
- Fix: Added a default value for a new-to-6.x argument of an internal class.
This unsupported class is being used by coveralls (`issue 1273`\_). Although
I'd rather not "fix" unsupported interfaces, it's actually nicer with a
default value.
.. \_django_coverage_plugin issue 78:[https://github.com/nedbat/django_coverage_plugin/issues/78](https://togithub.com/nedbat/django_coverage_plugin/issues/78)8
.. \_issue 1147[https://github.com/nedbat/coveragepy/issues/1147](https://togithub.com/nedbat/coveragepy/issues/1147)47
.. \_issue 127[https://github.com/nedbat/coveragepy/issues/1270](https://togithub.com/nedbat/coveragepy/issues/1270)270
.. \_issue 12[https://github.com/nedbat/coveragepy/issues/1271](https://togithub.com/nedbat/coveragepy/issues/1271)1271
.. \_issue 1[https://github.com/nedbat/coveragepy/issues/1273](https://togithub.com/nedbat/coveragepy/issues/1273)/1273
.. \_changes\_611:
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
Coverage remained the same at ?% when pulling 2dd484f7b1ff601b84b00884c2ab1ba5d26900be on renovate/coverage-6.x into e1c483f3e33ed2b96aab324f8b34d6ea6bd69974 on develop.
This PR contains the following updates:
==6.1.1
->==6.2
Release Notes
nedbat/coveragepy
### [`v6.2`](https://togithub.com/nedbat/coveragepy/blob/master/CHANGES.rst#Version-62--2021-11-26) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/6.1.2...6.2) - Feature: Now the `--concurrency` setting can now have a list of values, so that threads and another lightweight threading package can be measured together, such as `--concurrency=gevent,thread`. Closes `issue 1012`\_ and `issue 1082`\_. - Fix: A module specified as the `source` setting is imported during startup, before the user program imports it. This could cause problems if the rest of the program isn't ready yet. For example, `issue 1203`\_ describes a Django setting that is accessed before settings have been configured. Now the early import is wrapped in a try/except so errors then don't stop execution. - Fix: A colon in a decorator expression would cause an exclusion to end too early, preventing the exclusion of the decorated function. This is now fixed. - Fix: The HTML report now will not overwrite a .gitignore file that already exists in the HTML output directory (follow-on for `issue 1244`\_). - API: The exceptions raised by Coverage.py have been specialized, to provide finer-grained catching of exceptions by third-party code. - API: Using `suffix=False` when constructing a Coverage object with multiprocessing wouldn't suppress the data file suffix (`issue 989`\_). This is now fixed. - Debug: The `coverage debug data` command will now sniff out combinable data files, and report on all of them. - Debug: The `coverage debug` command used to accept a number of topics at a time, and show all of them, though this was never documented. This no longer works, to allow for command-line options in the future. .. \_issue 989:[https://github.com/nedbat/coveragepy/issues/989](https://togithub.com/nedbat/coveragepy/issues/989)9 .. \_issue 1012[https://github.com/nedbat/coveragepy/issues/1012](https://togithub.com/nedbat/coveragepy/issues/1012)12 .. \_issue 108[https://github.com/nedbat/coveragepy/issues/1082](https://togithub.com/nedbat/coveragepy/issues/1082)082 .. \_issue 12[https://github.com/nedbat/coveragepy/issues/1203](https://togithub.com/nedbat/coveragepy/issues/1203)1203 .. \_changes\_612: ### [`v6.1.2`](https://togithub.com/nedbat/coveragepy/blob/master/CHANGES.rst#Version-612--2021-11-10) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/6.1.1...6.1.2) - Python 3.11 is supported (tested with 3.11.0a2). One still-open issue has to do with `exits through with-statementsConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.