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
migrate between major versions of coverage.py. It currently covers the
wildcard changes in 7.x. Thanks, Brian Grohe <pull 1610_>_.
Fix: the :ref:config_run_sigterm setting was meant to capture data if a
process was terminated with a SIGTERM signal, but it didn't always. This was
fixed thanks to Lewis Gaul <pull 1600_>, closing issue 1599.
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.2 to 7.2.5.
Changelog
Sourced from coverage's changelog.
... (truncated)
Commits
9d4ac48
docs: sample HTML for 7.2.551f14fe
docs: prep for 7.2.5731e9a7
fix: a fake stdout might not have isatty31c216b
chore: make upgradef6388c3
build: make a branch and commit for upgrading78a258f
build: bump version9073664
docs: sample HTML for 7.2.41f5beeb
docs: prep for 7.2.4ee6506f
fix: specific files to include/omit should match even with relative files #1604.3344a78
tet: add tests to reproduce #1604 (#1609)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)