7.3.0
Version 7.3.0 — 2023-08-12
- Added a Coverage.collect() context manager to start and stop coverage data 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, closing issue 1646. Thanks to 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 that semgrep-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.
➡️ PyPI page: coverage 7.3.0.
➡️ To install: python3 -m pip install coverage==7.3.0