Update dependency coverage to v7.3.0 #62
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/coverage-7.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==7.2.1
->==7.3.0
Release Notes
nedbat/coveragepy (coverage)
v7.3.0
Compare Source
Added a :meth:
.Coverage.collect
context manager to start and stop coveragedata collection.
Dropped support for Python 3.7.
Fix: in unusual circumstances, SQLite cannot be set to asynchronous mode.
Coverage.py would fail with the error
Safety level may not be changed inside a transaction.
This is now avoided, closingissue 1646
_. Thanksto Michael Bell for the detailed bug report.
Docs: examples of configuration files now include separate examples for the
different syntaxes: .coveragerc, pyproject.toml, setup.cfg, and tox.ini.
Fix: added
nosemgrep
comments to our JavaScript code so thatsemgrep-based SAST security checks won't raise false alarms about security
problems that aren't problems.
Added a CITATION.cff file, thanks to
Ken Schackart <pull 1641_>
_... _pull 1641: https://github.com/nedbat/coveragepy/pull/1641
.. _issue 1646: https://github.com/nedbat/coveragepy/issues/1646
.. _changes_7-2-7:
v7.2.7
Compare Source
Fix: reverted a
change from 6.4.3 <pull 1347_>
_ that helped Cython, butalso increased the size of data files when using dynamic contexts, as
described in the now-fixed
issue 1586
. The problem is now avoided due to arecent change (
issue 1538
). Thanks toAnders Kaseorg <pull 1629_>
_and David Szotten for persisting with problem reports and detailed diagnoses.
Wheels are now provided for CPython 3.12.
.. _issue 1586: https://github.com/nedbat/coveragepy/issues/1586
.. _pull 1629: https://github.com/nedbat/coveragepy/pull/1629
.. _changes_7-2-6:
v7.2.6
Compare Source
Fix: the
lcov
command could raise an IndexError exception if a file istranslated to Python but then executed under its own name. Jinja2 does this
when rendering templates. Fixes
issue 1553
_.Python 3.12 beta 1 now inlines comprehensions. Previously they were compiled
as invisible functions and coverage.py would warn you if they weren't
completely executed. This no longer happens under Python 3.12.
Fix: the
coverage debug sys
command includes some environment variablesin its output. This could have included sensitive data. Those values are
now hidden with asterisks, closing
issue 1628
_... _issue 1553: https://github.com/nedbat/coveragepy/issues/1553
.. _issue 1628: https://github.com/nedbat/coveragepy/issues/1628
.. _changes_7-2-5:
v7.2.5
Compare Source
html_report()
could fail with an AttributeError onisatty
if runin an unusual environment where sys.stdout had been replaced. This is now
fixed.
.. _changes_7-2-4:
v7.2.4
Compare Source
PyCon 2023 sprint fixes!
Fix: with
relative_files = true
, specifying a specific file to include oromit wouldn't work correctly (
issue 1604
). This is now fixed, withtesting help by
Marc Gibbons <pull 1608_>
.Fix: the XML report would have an incorrect
<source>
element when usingrelative files and the source option ended with a slash (
issue 1541
).This is now fixed, thanks to
Kevin Brown-Silva <pull 1608_>
.When the HTML report location is printed to the terminal, it's now a
terminal-compatible URL, so that you can click the location to open the HTML
file in your browser. Finishes
issue 1523
_ thanks toRicardo Newbery <pull 1613_>
_.Docs: a new :ref:
Migrating page <migrating>
with details about how tomigrate between major versions of coverage.py. It currently covers the
wildcard changes in 7.x. Thanks,
Brian Grohe <pull 1610_>
_... _issue 1523: https://github.com/nedbat/coveragepy/issues/1523
.. _issue 1541: https://github.com/nedbat/coveragepy/issues/1541
.. _issue 1604: https://github.com/nedbat/coveragepy/issues/1604
.. _pull 1608: https://github.com/nedbat/coveragepy/pull/1608
.. _pull 1609: https://github.com/nedbat/coveragepy/pull/1609
.. _pull 1610: https://github.com/nedbat/coveragepy/pull/1610
.. _pull 1613: https://github.com/nedbat/coveragepy/pull/1613
.. _changes_7-2-3:
v7.2.3
Compare Source
Fix: the :ref:
config_run_sigterm
setting was meant to capture data if aprocess was terminated with a SIGTERM signal, but it didn't always. This was
fixed thanks to
Lewis Gaul <pull 1600_>
, closingissue 1599
.Performance: HTML reports with context information are now much more compact.
File sizes are typically as small as one-third the previous size, but can be
dramatically smaller. This closes
issue 1584
_ thanks toOleh Krehel <pull 1587_>
_.Development dependencies no longer use hashed pins, closing
issue 1592
_... _issue 1584: https://github.com/nedbat/coveragepy/issues/1584
.. _pull 1587: https://github.com/nedbat/coveragepy/pull/1587
.. _issue 1592: https://github.com/nedbat/coveragepy/issues/1592
.. _issue 1599: https://github.com/nedbat/coveragepy/issues/1599
.. _pull 1600: https://github.com/nedbat/coveragepy/pull/1600
.. _changes_7-2-2:
v7.2.2
Compare Source
Fix: if a virtualenv was created inside a source directory, and a sourced
package was installed inside the virtualenv, then all of the third-party
packages inside the virtualenv would be measured. This was incorrect, but
has now been fixed: only the specified packages will be measured, thanks to
Manuel Jacob <pull 1560_>
_.Fix: the
coverage lcov
command could create a .lcov file with incorrectLF (lines found) and LH (lines hit) totals. This is now fixed, thanks to
Ian Moore <pull 1583_>
_.Fix: the
coverage xml
command on Windows could create a .xml file withduplicate
<package>
elements. This is now fixed, thanks toBenjamin Parzella <pull 1574_>
, closingissue 1573
... _pull 1560: https://github.com/nedbat/coveragepy/pull/1560
.. _issue 1573: https://github.com/nedbat/coveragepy/issues/1573
.. _pull 1574: https://github.com/nedbat/coveragepy/pull/1574
.. _pull 1583: https://github.com/nedbat/coveragepy/pull/1583
.. _changes_7-2-1:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Renovate Bot.