Skip to content

6.6.0b1

Pre-release
Pre-release
Compare
Choose a tag to compare
@nedbat nedbat released this 31 Oct 11:11
· 845 commits to master since this release
6.6.0b1
64559a0

(Note: 6.6.0 final was never released. These changes are part of 7.0.0b1.)

  • 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, closing issue 1407.
    • Now ** matches any number of nested directories, including none.
  • Improvements to combining data files when using the config_run_relative_files setting:
    • During coverage combine, relative file paths are implicitly combined without needing a [paths] configuration setting. This also fixed issue 991.
    • A [paths] setting like */foo will now match foo/bar.py so that relative file paths can be combined more easily.
    • The setting is properly interpreted in more places, fixing issue 1280.
  • Fixed environment variable expansion in pyproject.toml files. It was overly broad, causing errors outside of coverage.py settings, as described in issue 1481 and issue 1345. This is now fixed, but in rare cases will require changing your pyproject.toml to quote non-string values that use environment substitution.
  • Fixed internal logic that prevented coverage.py from running on implementations other than CPython or PyPy (issue 1474).

➡️  PyPI page: coverage 6.6.0b1.
➡️  To install: python3 -m pip install coverage==6.6.0b1