chore(deps): update dependency coverage to v6
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
coverage |
==5.5 -> ==6.1.1
|
Release Notes
nedbat/coveragepy
v6.1.1
-
Fix: The sticky header on the HTML report didn't work unless you had branch coverage enabled. This is now fixed: the sticky header works for everyone. (Do people still use coverage without branch measurement!? j/k)
-
Fix: When using explicitly declared namespace packages, the "already imported a file that will be measured" warning would be issued (
issue 888
_). This is now fixed.
.. _issue 888: https://github.com/nedbat/coveragepy/issues/888
.. _changes_61:
v6.1
-
Fix: The sticky header on the HTML report didn't work unless you had branch coverage enabled. This is now fixed: the sticky header works for everyone. (Do people still use coverage without branch measurement!? j/k)
-
Fix: When using explicitly declared namespace packages, the "already imported a file that will be measured" warning would be issued (
issue 888
_). This is now fixed.
.. _issue 888: https://github.com/nedbat/coveragepy/issues/888
.. _changes_61:
v6.0.2
-
Namespace packages being measured weren't properly handled by the new code that ignores third-party packages. If the namespace package was installed, it was ignored as a third-party package. That problem (
issue 1231
_) is now fixed. -
Packages named as "source packages" (with
source
, orsource_pkgs
, or pytest-cov's--cov
) might have been only partially measured. Their top-level statements could be marked as unexecuted, because they were imported by coverage.py before measurement began (issue 1232
_). This is now fixed, but the package will be imported twice, once by coverage.py, then again by your test suite. This could cause problems if importing the package has side effects. -
The :meth:
.CoverageData.contexts_by_lineno
method was documented to return a dict, but was returning a defaultdict. Now it returns a plain dict. It also no longer returns negative numbered keys.
.. _issue 1231: https://github.com/nedbat/coveragepy/issues/1231 .. _issue 1232: https://github.com/nedbat/coveragepy/issues/1232
.. _changes_601:
v6.0.1
-
In 6.0, the coverage.py exceptions moved from coverage.misc to coverage.exceptions. These exceptions are not part of the public supported API, CoverageException is. But a number of other third-party packages were importing the exceptions from coverage.misc, so they are now available from there again (
issue 1226
_). -
Changed an internal detail of how tomli is imported, so that tomli can use coverage.py for their own test suite (
issue 1228
_). -
Defend against an obscure possibility under code obfuscation, where a function can have an argument called "self", but no local named "self" (
pull request 1210
_). Thanks, Ben Carlsson.
.. _pull request 1210: https://github.com/nedbat/coveragepy/pull/1210 .. _issue 1226: https://github.com/nedbat/coveragepy/issues/1226 .. _issue 1228: https://github.com/nedbat/coveragepy/issues/1228
.. _changes_60:
v6.0
-
Namespace packages being measured weren't properly handled by the new code that ignores third-party packages. If the namespace package was installed, it was ignored as a third-party package. That problem (
issue 1231
_) is now fixed. -
Packages named as "source packages" (with
source
, orsource_pkgs
, or pytest-cov's--cov
) might have been only partially measured. Their top-level statements could be marked as unexecuted, because they were imported by coverage.py before measurement began (issue 1232
_). This is now fixed, but the package will be imported twice, once by coverage.py, then again by your test suite. This could cause problems if importing the package has side effects. -
The :meth:
.CoverageData.contexts_by_lineno
method was documented to return a dict, but was returning a defaultdict. Now it returns a plain dict. It also no longer returns negative numbered keys.
.. _issue 1231: https://github.com/nedbat/coveragepy/issues/1231 .. _issue 1232: https://github.com/nedbat/coveragepy/issues/1232
.. _changes_601:
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.