Version 7.10.3 — 2025-08-10
- Fixes for
patch = subprocess
:- If subprocesses spawned yet more subprocesses simultaneously, some coverage could be missed. This is now fixed, closing issue 2024.
- If subprocesses were created in other directories, their data files were stranded there and not combined into the totals, as described in issue 2025. This is now fixed.
- On Windows (or maybe only some Windows?) the patch would fail with a
ModuleNotFound
error trying to import coverage. This is now fixed, closing issue 2022. - Originally only options set in the coverage configuration file would apply to subprocesses. Options set on the
coverage run
command line (such as--branch
) wouldn’t be communicated to the subprocesses. This could lead to combining failures, as described in issue 2021. Now the entire configuration is used in subprocesses, regardless of its origin. - Added
debug=patch
to help diagnose problems.
- Fix: really close all SQLite databases, even in-memory ones. Closes issue 2017.
➡️ PyPI page: coverage 7.10.3.
➡️ To install: python3 -m pip install coverage==7.10.3