---
title: "pytest-cov 7.1.0 Breaking Changes on PyPI | Since.dev"
description: "What each pytest-cov release removed, renamed or changed: 21 breaking changes in 5 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pytest-cov
last_updated: 2026-12-04
---

# pytest-cov breaking changes

pytest-cov 7.1.0 (March 21, 2026) is its newest release with breaking changes. The first: Behavior changed --cov-fail-under. Every breaking API change we have recorded in pytest-cov on PyPI: 21 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.1.0`, released March 21, 2026. [Source repository](https://github.com/pytest-dev/pytest-cov)

Its 6.0.0 release drops [Python 3.8](https://since.dev/calendar/python/3.8.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [6.0.0](#v-6-0-0) to [7.1.0](#v-7-1-0): 11 breaking changes in 2 versions.
- From [4.0.0](#v-4-0-0) to [7.1.0](#v-7-1-0): 17 breaking changes in 4 versions.

## pytest-cov 7.1.0 breaking changes

pytest-cov 7.1.0, released March 21, 2026: 1 breaking change.

- **Behavior changed** `--cov-fail-under`  

Total coverage counts no longer vary with reporting settings, so --cov-fail-under may now pass or fail differently than before for some reports. Review your fail-under threshold if you use reporting options. [github.com](https://github.com/pytest-dev/pytest-cov/blob/v7.1.0/CHANGELOG.rst)

## pytest-cov 7.0.0 breaking changes

pytest-cov 7.0.0, released September 9, 2025: 10 breaking changes.

- **Removed** `pytest_cov.compat`  

pytest_cov.compat was removed in pytest-cov 7.0.0 [pypi.org](https://pypi.org/project/pytest-cov/7.0.0/)
- **Removed** `pytest_cov.embed`  

pytest_cov.embed was removed in pytest-cov 7.0.0 [pypi.org](https://pypi.org/project/pytest-cov/7.0.0/)
- **Removed** `pytest_cov.engine.cleanup`  

pytest_cov.engine.cleanup was removed in pytest-cov 7.0.0 [pypi.org](https://pypi.org/project/pytest-cov/7.0.0/)
- **Removed** `pytest_cov.engine.CovController.set_env`  

CovController.set_env was removed in pytest-cov 7.0.0 [pypi.org](https://pypi.org/project/pytest-cov/7.0.0/)
- **Removed** `pytest_cov.engine.CovController.unset_env`  

CovController.unset_env was removed in pytest-cov 7.0.0 [pypi.org](https://pypi.org/project/pytest-cov/7.0.0/)
- **Removed** `pytest_cov.plugin.compat`  

pytest_cov.plugin.compat was removed in pytest-cov 7.0.0 [pypi.org](https://pypi.org/project/pytest-cov/7.0.0/)
- **Removed** `pytest_cov.plugin.CovPlugin.pytest_runtest_setup`  

CovPlugin.pytest_runtest_setup was removed in pytest-cov 7.0.0 [pypi.org](https://pypi.org/project/pytest-cov/7.0.0/)
- **Removed** `pytest_cov.plugin.CovPlugin.pytest_runtest_teardown`  

CovPlugin.pytest_runtest_teardown was removed in pytest-cov 7.0.0 [pypi.org](https://pypi.org/project/pytest-cov/7.0.0/)
- **Removed** `pytest_cov.plugin.embed`  

pytest_cov.plugin.embed was removed in pytest-cov 7.0.0 [pypi.org](https://pypi.org/project/pytest-cov/7.0.0/)
- **Behavior changed**  

Package metadata now lives entirely in pyproject.toml and the build uses hatchling; this affects how the package is built, not how code calling it behaves. [github.com](https://github.com/pytest-dev/pytest-cov/blob/v7.0.0/CHANGELOG.rst)

## pytest-cov 6.0.0 breaking changes

pytest-cov 6.0.0, released October 29, 2024: 4 breaking changes.

- **Removed**  

Support for Python 3.8 was dropped because it is end of life. Use a newer supported Python version. [github.com](https://github.com/pytest-dev/pytest-cov/blob/v6.0.0/CHANGELOG.rst)
- **Removed** `pytest_cov.plugin.CoverageError`  

pytest_cov.plugin.CoverageError was removed in pytest-cov 6.0.0 [pypi.org](https://pypi.org/project/pytest-cov/6.0.0/)
- **Removed** `pytest_cov.plugin.PytestCovWarning`  

pytest_cov.plugin.PytestCovWarning was removed in pytest-cov 6.0.0 [pypi.org](https://pypi.org/project/pytest-cov/6.0.0/)
- **Behavior changed**  

The fail-under check now performs the same comparison as coverage report, using the precision from the coverage configuration. Check your fail-under threshold if results shift. [github.com](https://github.com/pytest-dev/pytest-cov/blob/v6.0.0/CHANGELOG.rst)

## pytest-cov 5.0.0 breaking changes

pytest-cov 5.0.0, released March 24, 2024: 2 breaking changes.

- **Removed**  

Support for xdist rsync is removed in this release. The changelog also describes it as deprecated, so code relying on rsync should move to another xdist setup. [github.com](https://github.com/pytest-dev/pytest-cov/blob/v5.0.0/CHANGELOG.rst)
- **Removed** `pytest_cov.engine.StringIO`  

pytest_cov.engine.StringIO was removed in pytest-cov 5.0.0 [pypi.org](https://pypi.org/project/pytest-cov/5.0.0/)

## pytest-cov 4.0.0 breaking changes

pytest-cov 4.0.0, released September 28, 2022: 4 breaking changes.

- **Removed**  

pytest-cov no longer supports multiprocessing. Users should migrate to coverage's builtin multiprocessing support by setting concurrency = multiprocessing, parallel = true and sigterm = true in their .coveragerc. [github.com](https://github.com/pytest-dev/pytest-cov/blob/v4.0.0/CHANGELOG.rst)
- **Removed** `pytest_cov.compat.hookwrapper`  

pytest_cov.compat.hookwrapper was removed in pytest-cov 4.0.0 [pypi.org](https://pypi.org/project/pytest-cov/4.0.0/)
- **Removed** `pytest_cov.embed.multiprocessing_finish`  

pytest_cov.embed.multiprocessing_finish was removed in pytest-cov 4.0.0 [pypi.org](https://pypi.org/project/pytest-cov/4.0.0/)
- **Removed** `pytest_cov.embed.multiprocessing_start`  

pytest_cov.embed.multiprocessing_start was removed in pytest-cov 4.0.0 [pypi.org](https://pypi.org/project/pytest-cov/4.0.0/)

## Related packages

- [pytest-asyncio](https://since.dev/packages/pypi/pytest-asyncio.md)
- [pytest-django](https://since.dev/packages/pypi/pytest-django.md)
- [pytest-env](https://since.dev/packages/pypi/pytest-env.md)
- [pytest-github-actions-annotate-failures](https://since.dev/packages/pypi/pytest-github-actions-annotate-failures.md)
- [pytest-mock](https://since.dev/packages/pypi/pytest-mock.md)
- [pytest-rerunfailures](https://since.dev/packages/pypi/pytest-rerunfailures.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
