Fix: the lcov command could raise an IndexError exception if a file is
translated 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 variables
in its output. This could have included sensitive data. Those values are
now hidden with asterisks, closing issue 1628_.
Fix: html_report() could fail with an AttributeError on isatty if run
in an unusual environment where sys.stdout had been replaced. This is now
fixed.
.. _changes_7-2-4:
Version 7.2.4 — 2023-04-28
PyCon 2023 sprint fixes!
Fix: with relative_files = true, specifying a specific file to include or
omit wouldn't work correctly (issue 1604). This is now fixed, with
testing help by Marc Gibbons <pull 1608_>.
Fix: the XML report would have an incorrect <source> element when using
relative 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 to Ricardo Newbery <pull 1613_>_.
Docs: a new :ref:Migrating page <migrating> with details about how to
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps coverage from 7.2.1 to 7.2.6.
Changelog
Sourced from coverage's changelog.
... (truncated)
Commits
a138669
docs: sample HTML for 7.2.6afa4caf
docs: prep for 7.2.6009b529
fix: adapt to new tokenize error messages2a0cee9
test: cpython 104686 is fixed, un-xfail this test37b922a
test: suppress an ast deprecation warning5925d8a
build: run tests on 3.121a1d176
build: clean more cache directories044ffa6
test: xfail a test because of CPython issue 10468612333be
test: remove xfail for pypy bugs 3936 and 39373fb8da5
fix: hide sensitive environment variables with asterisks. #1628Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)