Subprocess support

Subprocess support was removed in pytest-cov 7.0 due to various complexities resulting from coverage’s own subprocess support. To migrate you should change your coverage config to have at least this:

[run]
patch = subprocess

Or if you use pyproject.toml:

[tool.coverage.run]
patch = ["subprocess"]

Note that if you enable the subprocess patch then parallel = true is automatically set.

If it still doesn’t produce the same coverage as before you may need to enable more patches, see the coverage config and subprocess documentation.