chore(deps): update dependency coverage to v7.9.2 - autoclosed
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| coverage | dev | minor |
7.6.11 -> 7.9.2
|
Release Notes
nedbat/coveragepy (coverage)
v7.9.2
-
Fix: complex conditionals within a line might cause a KeyError when using sys.monitoring, as reported in
issue 1991_. This is now fixed. -
Fix: we can now measure coverage for code in Python archive (.par) files. Thanks,
Itamer Oren <pull 1984_>_.
.. _pull 1984: https://github.com/nedbat/coveragepy/pull/1984 .. _issue 1991: https://github.com/nedbat/coveragepy/issues/1991
.. _changes_7-9-1:
v7.9.1
-
The "no-ctracer" warning is not issued for Python pre-release versions. Coverage doesn't ship compiled wheels for those versions, so this was far too noisy.
-
On Python 3.14+, the "sysmon" core is now the default if it's supported for your configuration. Plugins and dynamic contexts are still not supported with it.
.. _changes_7-9-0:
v7.9.0
-
Added a
[run] coreconfiguration setting to specify the measurement core, which was previously only available through the COVERAGE_CORE environment variable. Finishesissue 1746_. -
Fixed incorrect rendering of f-strings with doubled braces, closing
issue 1980_. -
If the C tracer core can't be imported, a warning ("no-ctracer") is issued with the reason.
-
The C tracer core extension module now conforms to
PEP 489, closingissue 1977. Thanks,Adam Turner <pull 1978_>_. -
Fixed a "ValueError: min() arg is an empty sequence" error caused by strange empty modules, found by
oss-fuzz_.
.. _issue 1746: https://github.com/nedbat/coveragepy/issues/1746 .. _issue 1977: https://github.com/nedbat/coveragepy/issues/1977 .. _pull 1978: https://github.com/nedbat/coveragepy/pull/1978 .. _issue 1980: https://github.com/nedbat/coveragepy/issues/1980 .. _PEP 489: https://peps.python.org/pep-0489 .. _oss-fuzz: https://google.github.io/oss-fuzz/
.. _changes_7-8-2:
v7.8.2
- Wheels are provided for Windows ARM64 on Python 3.11, 3.12, and 3.13.
Thanks,
Finn Womack <pull 1972_>_.
.. _issue 1971: https://github.com/nedbat/coveragepy/pull/1971 .. _pull 1972: https://github.com/nedbat/coveragepy/pull/1972
.. _changes_7-8-1:
v7.8.1
-
A number of EncodingWarnings were fixed that could appear if you've enabled PYTHONWARNDEFAULTENCODING, fixing
issue 1966. Thanks,Henry Schreiner <pull 1967_>. -
Fixed a race condition when using sys.monitoring with free-threading Python, closing
issue 1970_.
.. _issue 1966: https://github.com/nedbat/coveragepy/issues/1966 .. _pull 1967: https://github.com/nedbat/coveragepy/pull/1967 .. _issue 1970: https://github.com/nedbat/coveragepy/issues/1970
.. _changes_7-8-0:
v7.8.0
-
Added a new
source_dirssetting for symmetry with the existingsource_pkgssetting. It's preferable to the existingsourcesetting, because you'll get a clear error when directories don't exist. Fixesissue 1942. Thanks,Jeremy Fleischman <pull 1943_>. -
Fix: the PYTHONSAFEPATH environment variable new in Python 3.11 is properly supported, closing
issue 1696. Thanks,Philipp A. <pull 1700_>. This works properly except for a detail when using thecoveragecommand on Windows. There you can usepython -m coverageinstead if you need exact emulation.
.. _issue 1696: https://github.com/nedbat/coveragepy/issues/1696 .. _pull 1700: https://github.com/nedbat/coveragepy/pull/1700 .. _issue 1942: https://github.com/nedbat/coveragepy/issues/1942 .. _pull 1943: https://github.com/nedbat/coveragepy/pull/1943
.. _changes_7-7-1:
v7.7.1
- A few small tweaks to the sys.monitoring support for Python 3.14. Please test!
.. _changes_7-7-0:
v7.7.0
-
The Coverage object has a new method, :meth:
.Coverage.branch_statsfor getting simple branch information for a module. Closesissue 1888_. -
The :class:
Coverage constructor<.Coverage>now has apluginsparameter for passing in plugin objects directly, thanks toAlex Gaynor <pull 1919_>_. -
Many constant tests in if statements are now recognized as being optimized away. For example, previously
if 13:would have been considered a branch with one path not taken. Now it is understood as always true and no coverage is missing. -
The experimental sys.monitoring support now works for branch coverage if you are using Python 3.14.0 alpha 6 or newer. This should reduce the overhead coverage.py imposes on your test suite. Set the environment variable
COVERAGE_CORE=sysmonto try it out. -
Confirmed support for PyPy 3.11. Thanks Michał Górny.
.. _issue 1888: https://github.com/nedbat/coveragepy/issues/1888 .. _pull 1919: https://github.com/nedbat/coveragepy/pull/1919
.. _changes_7-6-12:
v7.6.12
- Fix: some aarch64 distributions were missing (
issue 1927_). These are now building reliably.
.. _issue 1927: https://github.com/nedbat/coveragepy/issues/1927
.. _changes_7-6-11:
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.