development-guide
development-guide copied to clipboard
Update coverage requirement from <7.0 to <8.0
Updates the requirements on coverage to permit the latest version.
Changelog
Sourced from coverage's changelog.
Version 7.0.0 — 2022-12-18
Nothing new beyond 7.0.0b1.
.. _changes_7-0-0b1:
Version 7.0.0b1 — 2022-12-03
A number of changes have been made to file path handling, including pattern matching and path remapping with the
[paths]setting (see :ref:config_paths). These changes might affect you, and require you to update your settings.(This release includes the changes from
6.6.0b1 <changes_6-6-0b1_>_, since 6.6.0 was never released.)
Changes to file pattern matching, which might require updating your configuration:
Previously,
*would incorrectly match directory separators, making precise matching difficult. This is now fixed, closingissue 1407_.Now
**matches any number of nested directories, including none.Improvements to combining data files when using the :ref:
config_run_relative_filessetting, which might require updating your configuration:
During
coverage combine, relative file paths are implicitly combined without needing a[paths]configuration setting. This also fixedissue 991_.A
[paths]setting like*/foowill now matchfoo/bar.pyso that relative file paths can be combined more easily.The :ref:
config_run_relative_filessetting is properly interpreted in more places, fixingissue 1280_.When remapping file paths with
[paths], a path will be remapped only if the resulting path exists. The documentation has long said the prefix had to exist, but it was never enforced. This fixesissue 608, improvesissue 649, and closesissue 757_.Reporting operations now implicitly use the
[paths]setting to remap file paths within a single data file. Combining multiple files still requires thecoverage combinestep, but this simplifies some single-file situations. Closesissue 1212_ andissue 713_.
... (truncated)
Commits
df3f2bfdocs: latest sample HTML report52b5680docs: prep for 7.0.0be5f556chore: make upgraded20c1d0docs: #1024 was also fixed5feb451chore: make upgrade84749fdbuild: use tox.pip to ensure all tox pins are the same3cd0bc6test: this was wrong?c053b7fchore: make upgrade7e0e072build: a target to summarizemake upgrade18681c4build: this link could be useful in the future- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)