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

# coverage breaking changes

coverage 7.17.4 (November 20, 2026) is its newest release with breaking changes, 4 of them. The first: JSON report with show_contexts lists only each function's own line contexts in coverage 7.17.4. Every breaking API change we have recorded in coverage on PyPI: 259 breaking changes in 23 versions. Below, its 23 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.18.0`, released November 29, 2026. [Source repository](https://github.com/coveragepy/coveragepy)

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

- From [6.0](#v-6-0) to [7.17.4](#v-7-17-4): 111 breaking changes in 12 versions.
- From [5.0](#v-5-0) to [7.17.4](#v-7-17-4): 208 breaking changes in 15 versions.

## coverage 7.17.4 breaking changes

coverage 7.17.4, released November 20, 2026: 4 breaking changes.

- **Behavior changed**  

Functions and classes in the JSON report now carry only the contexts for their own lines, not for every line in the file. Code that reads those contexts may see fewer entries. [github.com](https://github.com/coveragepy/coveragepy/blob/7.17.4/CHANGES.rst)
- **Configuration changed**  

The first entry in a \[paths\] list must be an actual file path. A wildcard there was previously ignored silently and is now reported as a configuration error, so such configs must be fixed. [github.com](https://github.com/coveragepy/coveragepy/blob/7.17.4/CHANGES.rst)
- **Signature changed** `coverage.control.JsonReporter.make_region_data`  

Was def make_region_data(self, coverage_data: CoverageData, narrowed_analysis: Analysis, start_line: int) -> JsonObj; now def make_region_data(self, coverage_data: CoverageData, narrowed_analysis: Analysis, start_line: int, lines... [pypi.org](https://pypi.org/project/coverage/7.17.4/)
- **Signature changed** `coverage.jsonreport.JsonReporter.make_region_data`  

Was def make_region_data(self, coverage_data: CoverageData, narrowed_analysis: Analysis, start_line: int) -> JsonObj; now def make_region_data(self, coverage_data: CoverageData, narrowed_analysis: Analysis, start_line: int, lines... [pypi.org](https://pypi.org/project/coverage/7.17.4/)

## coverage 7.17.3 breaking changes

coverage 7.17.3, released November 12, 2026: 1 breaking change.

- **Behavior changed**  

Functions and classes with the same name, such as a property getter and setter, now get an @\<line number> suffix in the JSON report instead of only the last one being kept. Code that reads these keys by name may need to handle the suffixed... [github.com](https://github.com/coveragepy/coveragepy/blob/7.17.3/CHANGES.rst)

## coverage 7.17.1 breaking changes

coverage 7.17.1, released November 3, 2026: 9 breaking changes.

- **Removed** `coverage.cmdline.display_covered`  

coverage.cmdline.display_covered was removed in coverage 7.17.1 [pypi.org](https://pypi.org/project/coverage/7.17.1/)
- **Behavior changed** `--fail-under`  

The comparison and failure message for --fail-under now use at least the threshold's decimal precision, so some totals that passed or failed before may now have different results. [github.com](https://github.com/coveragepy/coveragepy/blob/7.17.1/CHANGES.rst)
- **Behavior changed** `--source`  

Passing the file system root as --source used to measure no files silently. It now fails with an error, so pass a real source directory instead. [github.com](https://github.com/coveragepy/coveragepy/blob/7.17.1/CHANGES.rst)
- **Signature changed** `coverage.CoverageData.__init__`  

Was def \_\_init\_\_(self, basename: FilePath | None = None, suffix: str | bool | None = None, no_disk: bool = False, warn: TWarnFn | None = None, debug: TDebugCtl | None = None) -> None; now def \_\_init\_\_(self, basename: FilePath | None =... [pypi.org](https://pypi.org/project/coverage/7.17.1/)
- **Signature changed** `coverage.html.IncrementalChecker.can_skip_file`  

Was def can_skip_file(self, data: CoverageData, fr: FileReporter, rootname: str) -> bool; now def can_skip_file(self, data: CoverageData, ftr: FileToReport) -> bool. [pypi.org](https://pypi.org/project/coverage/7.17.1/)
- **Signature changed** `coverage.sqldata.CoverageData.__init__`  

Was def \_\_init\_\_(self, basename: FilePath | None = None, suffix: str | bool | None = None, no_disk: bool = False, warn: TWarnFn | None = None, debug: TDebugCtl | None = None) -> None; now def \_\_init\_\_(self, basename: FilePath | None =... [pypi.org](https://pypi.org/project/coverage/7.17.1/)
- **Signature changed** `coverage.sqldata.SqliteDb.__init__`  

Was def \_\_init\_\_(self, filename: str, debug: TDebugCtl, no_disk: bool = False) -> None; now def \_\_init\_\_(self, filename: str, debug: TDebugCtl, \*, no_disk: bool = False, read_only: bool = False) -> None. [pypi.org](https://pypi.org/project/coverage/7.17.1/)
- **Signature changed** `coverage.sqlitedb.SqliteDb.__init__`  

Was def \_\_init\_\_(self, filename: str, debug: TDebugCtl, no_disk: bool = False) -> None; now def \_\_init\_\_(self, filename: str, debug: TDebugCtl, \*, no_disk: bool = False, read_only: bool = False) -> None. [pypi.org](https://pypi.org/project/coverage/7.17.1/)
- **Signature changed** `coverage.sysmon.CodeInfo.__init__`  

Was def \_\_init\_\_(self, tracing: bool, file_data: TTraceFileData | None, byte_to_line: dict\[TOffset, TLineNo\] | None, branch_resolver: BranchArcResolver | None) -> None; now def \_\_init\_\_(self, tracing: bool, file_data: TTraceFileData |... [pypi.org](https://pypi.org/project/coverage/7.17.1/)

## coverage 7.17.0 breaking changes

coverage 7.17.0, released October 22, 2026: 12 breaking changes.

- **Removed**  

Python 3.10 is no longer supported. Users on Python 3.10 must stay on coverage 7.16.2 or upgrade their Python version. [github.com](https://github.com/coveragepy/coveragepy/blob/7.17.0/CHANGES.rst)
- **Removed** `coverage.config.TomlDecodeError`  

coverage.config.TomlDecodeError was removed in coverage 7.17.0 [pypi.org](https://pypi.org/project/coverage/7.17.0/)
- **Removed** `coverage.control.SummaryReporter.fr_analyses`  

SummaryReporter.fr_analyses was removed in coverage 7.17.0 [pypi.org](https://pypi.org/project/coverage/7.17.0/)
- **Removed** `coverage.misc.import_third_party`  

coverage.misc.import_third_party was removed in coverage 7.17.0 [pypi.org](https://pypi.org/project/coverage/7.17.0/)
- **Removed** `coverage.report.SummaryReporter.fr_analyses`  

SummaryReporter.fr_analyses was removed in coverage 7.17.0 [pypi.org](https://pypi.org/project/coverage/7.17.0/)
- **Removed** `coverage.tomlconfig.env`  

coverage.tomlconfig.env was removed in coverage 7.17.0 [pypi.org](https://pypi.org/project/coverage/7.17.0/)
- **Removed** `coverage.tomlconfig.has_tomllib`  

coverage.tomlconfig.has_tomllib was removed in coverage 7.17.0 [pypi.org](https://pypi.org/project/coverage/7.17.0/)
- **Removed** `coverage.tomlconfig.import_third_party`  

coverage.tomlconfig.import_third_party was removed in coverage 7.17.0 [pypi.org](https://pypi.org/project/coverage/7.17.0/)
- **Removed** `coverage.tomlconfig.TomlDecodeError`  

coverage.tomlconfig.TomlDecodeError was removed in coverage 7.17.0 [pypi.org](https://pypi.org/project/coverage/7.17.0/)
- **Behavior changed**  

The XML, text and Markdown summary reports and coverage debug data now replace non-printable characters in names, so output for files with control characters in their names differs. [github.com](https://github.com/coveragepy/coveragepy/blob/7.17.0/CHANGES.rst)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## coverage 7.16.2 breaking changes

coverage 7.16.2, released September 27, 2026: 7 breaking changes.

- **Signature changed** `coverage.files.GlobMatcher.match`  

Was def match(self, fpath: str) -> bool; now def match(self, fpath: str, /) -> bool. [pypi.org](https://pypi.org/project/coverage/7.16.2/)
- **Signature changed** `coverage.files.Matcher.match`  

Was def match(self, s: str) -> bool; now def match(self, s: str, /) -> bool. [pypi.org](https://pypi.org/project/coverage/7.16.2/)
- **Signature changed** `coverage.files.ModuleMatcher.match`  

Was def match(self, module_name: str) -> bool; now def match(self, module_name: str, /) -> bool. [pypi.org](https://pypi.org/project/coverage/7.16.2/)
- **Signature changed** `coverage.files.TreeMatcher.match`  

Was def match(self, fpath: str) -> bool; now def match(self, fpath: str, /) -> bool. [pypi.org](https://pypi.org/project/coverage/7.16.2/)
- **Signature changed** `coverage.inorout.GlobMatcher.match`  

Was def match(self, fpath: str) -> bool; now def match(self, fpath: str, /) -> bool. [pypi.org](https://pypi.org/project/coverage/7.16.2/)
- **Signature changed** `coverage.inorout.ModuleMatcher.match`  

Was def match(self, module_name: str) -> bool; now def match(self, module_name: str, /) -> bool. [pypi.org](https://pypi.org/project/coverage/7.16.2/)
- **Signature changed** `coverage.inorout.TreeMatcher.match`  

Was def match(self, fpath: str) -> bool; now def match(self, fpath: str, /) -> bool. [pypi.org](https://pypi.org/project/coverage/7.16.2/)

## coverage 7.16.0 breaking changes

coverage 7.16.0, released August 28, 2026: 12 breaking changes.

- **Removed** `coverage.sqldata.AnyCallable`  

coverage.sqldata.AnyCallable was removed in coverage 7.16.0 [pypi.org](https://pypi.org/project/coverage/7.16.0/)
- **Behavior changed**  

A \[paths\] pattern is now replaced only once, in the leading portion of the path, instead of everywhere in the path. Review \[paths\] settings that matched text in the middle of paths. [github.com](https://github.com/coveragepy/coveragepy/blob/7.16.0/CHANGES.rst)
- **Behavior changed**  

When combining files, path separators are now converted to the local style automatically. Check combined results if your \[paths\] configuration relied on the old separators. [github.com](https://github.com/coveragepy/coveragepy/blob/7.16.0/CHANGES.rst)
- **Signature changed** `coverage.collector.Collector.switch_context`  

Was def switch_context(self, new_context: str | None) -> None; now def switch_context(self, new_context: str | None) -> str | None. [pypi.org](https://pypi.org/project/coverage/7.16.0/)
- **Signature changed** `coverage.collector.Tracer.switch_context`  

Was switch_context: Callable\[\[str | None\], None\] | None; now switch_context: Callable\[\[str | None\], str | None\] | None. [pypi.org](https://pypi.org/project/coverage/7.16.0/)
- **Signature changed** `coverage.control.Collector.switch_context`  

Was def switch_context(self, new_context: str | None) -> None; now def switch_context(self, new_context: str | None) -> str | None. [pypi.org](https://pypi.org/project/coverage/7.16.0/)
- **Signature changed** `coverage.control.Coverage.switch_context`  

Was def switch_context(self, new_context: str) -> None; now def switch_context(self, new_context: str) -> str | None. [pypi.org](https://pypi.org/project/coverage/7.16.0/)
- **Signature changed** `coverage.core.PyTracer.switch_context`  

Was switch_context: Callable\[\[str | None\], None\] | None; now switch_context: Callable\[\[str | None\], str | None\] | None. [pypi.org](https://pypi.org/project/coverage/7.16.0/)
- **Signature changed** `coverage.Coverage.switch_context`  

Was def switch_context(self, new_context: str) -> None; now def switch_context(self, new_context: str) -> str | None. [pypi.org](https://pypi.org/project/coverage/7.16.0/)
- **Signature changed** `coverage.CoverageData.set_context`  

Was def set_context(self, context: str | None) -> None; now def set_context(self, context: str | None) -> str | None. [pypi.org](https://pypi.org/project/coverage/7.16.0/)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

17 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### coverage 7.15.4 breaking changes

coverage 7.15.4, released August 6, 2026: 3 breaking changes.

- **Removed** `coverage.html.escape`  

coverage.html.escape was removed in coverage 7.15.4 [pypi.org](https://pypi.org/project/coverage/7.15.4/)
- **Signature changed** `coverage.FileReporter.__eq__`  

Was def \_\_eq\_\_(self, other: Any) -> bool; now def \_\_eq\_\_(self, other: object) -> bool. [pypi.org](https://pypi.org/project/coverage/7.15.4/)

And 1 more in this version.

### coverage 7.15.3 breaking changes

coverage 7.15.3, released August 2, 2026: 1 breaking change.

- **Renamed** `coverage.sqldata.NumbitsUnionAgg`  

Use coverage.numbits.NumbitsUnionAgg instead. [pypi.org](https://pypi.org/project/coverage/7.15.3/)

### coverage 7.15.1 breaking changes

coverage 7.15.1, released July 12, 2026: 15 breaking changes.

- **Removed** `coverage.bytecode.always_jumps`  

coverage.bytecode.always_jumps was removed in coverage 7.15.1 [pypi.org](https://pypi.org/project/coverage/7.15.1/)
- **Removed** `coverage.bytecode.branch_trails`  

coverage.bytecode.branch_trails was removed in coverage 7.15.1 [pypi.org](https://pypi.org/project/coverage/7.15.1/)

And 13 more in this version.

### coverage 7.14.2 breaking changes

coverage 7.14.2, released June 20, 2026: 6 breaking changes.

- **Removed**  

Wheels are no longer distributed for Python 3.13 free-threaded, so installs on that build must use a source build or a different Python version. [github.com](https://github.com/coveragepy/coveragepy/blob/7.14.2/CHANGES.rst)
- **Behavior changed**  

Some messages that were written to stdout are now written to stderr, so code that captures stdout may see different output. [github.com](https://github.com/coveragepy/coveragepy/blob/7.14.2/CHANGES.rst)

And 4 more in this version.

### coverage 7.0.0 breaking changes

coverage 7.0.0, released December 18, 2022: 35 breaking changes.

- **Removed** `coverage.cmdline.CoverageConfig.note`  

CoverageConfig.note was removed in coverage 7.0.0 [pypi.org](https://pypi.org/project/coverage/7.0.0/)
- **Removed** `coverage.cmdline.Numbers.simple_repr_ignore`  

Numbers.simple_repr_ignore was removed in coverage 7.0.0 [pypi.org](https://pypi.org/project/coverage/7.0.0/)

And 33 more in this version.

### coverage 7.0.0b1 breaking changes

coverage 7.0.0b1, released December 18, 2022: 6 breaking changes.

- **Removed** `[run] note`  

The deprecated \[run\] note setting has been completely removed. Delete it from your configuration. [github.com](https://github.com/nedbat/coveragepy/blob/7.0.0/CHANGES.rst)
- **Behavior changed**  

Reporting operations now implicitly remap file paths with the \[paths\] setting within a single data file. Check report output if you rely on the old paths. [github.com](https://github.com/nedbat/coveragepy/blob/7.0.0/CHANGES.rst)

And 4 more in this version.

### coverage 6.0 breaking changes

coverage 6.0, released October 3, 2021: 92 breaking changes.

- **Removed** `coverage.backward`  

coverage.backward was removed in coverage 6.0 [pypi.org](https://pypi.org/project/coverage/6.0/)
- **Removed** `coverage.cmdline.output_encoding`  

coverage.cmdline.output_encoding was removed in coverage 6.0 [pypi.org](https://pypi.org/project/coverage/6.0/)

And 90 more in this version.

### coverage 6.0b1 breaking changes

coverage 6.0b1, released October 3, 2021: 4 breaking changes.

- **Removed**  

Python 2.7, PyPy 2 and Python 3.5 are no longer supported. Users on these runtimes must stay on an older coverage release. [github.com](https://github.com/nedbat/coveragepy/blob/6.0/CHANGES.rst)
- **Behavior changed**  

Report file names are generated differently and the HTML report now uses SHA-3-256 instead of MD5 for fingerprinting. Tools that depend on the old HTML file names or hashes may break. [github.com](https://github.com/nedbat/coveragepy/blob/6.0/CHANGES.rst)

And 2 more in this version.

### coverage 5.6b1 breaking changes

coverage 5.6b1, released October 3, 2021: 1 breaking change.

- **Behavior changed**  

Code from third-party packages, including venvs in the current directory, is no longer reported in coverage results. Users relying on those reports must account for the change. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.6b1)

### coverage 5.0 breaking changes

coverage 5.0, released December 14, 2019: 37 breaking changes.

- **Behavior changed**  

Release 5.0 has nothing new beyond 5.0b2; see the major changes summary for changes since 4.5.x. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0)
- **Signature changed** `coverage.annotate.AnnotateReporter`  

Was class AnnotateReporter(Reporter); now class AnnotateReporter(object). [pypi.org](https://pypi.org/project/coverage/5.0/)

And 35 more in this version.

### coverage 5.0b2 breaking changes

coverage 5.0b2, released December 14, 2019: 2 breaking changes.

- **Behavior changed** `[paths]`  

If more than one list of patterns is given, the first one that matches is used. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0b2)
- **Behavior changed** `coverage.Coverage`  

Passing data_file=None prevents writing any data file; previously it fell back to .coverage. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0b2)

### coverage 5.0a8 breaking changes

coverage 5.0a8, released December 14, 2019: 2 breaking changes.

- **Renamed** `CoverageData.set_query_context`  

Use set_query_context for one exact-match string or set_query_contexts for a list of regular expressions. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0a8)
- **Signature changed** `--contexts`  

The --contexts option uses regular expressions instead of filename-style wildcards. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0a8)

### coverage 5.0a7 breaking changes

coverage 5.0a7, released December 14, 2019: 1 breaking change.

- **Behavior changed** `Coverage.report`  

Arguments passed to reporting methods now affect only that call and no longer persist on the Coverage object. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0a7)

### coverage 5.0a6 breaking changes

coverage 5.0a6, released December 14, 2019: 3 breaking changes.

- **Removed**  

The JSON data file code was removed since SQLite storage replaces it. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0a6)
- **Behavior changed** `--ignore-errors`  

Files that fail to parse as Python are always reported as warnings, even with --ignore-errors. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0a6)

And 1 more in this version.

### coverage 5.0a5 breaking changes

coverage 5.0a5, released December 14, 2019: 3 breaking changes.

- **Removed**  

Coverage.py no longer supports Python 3.4. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0a5)
- **Removed** `CoverageData.filename`  

Use data_filename() to get the storage file name, and base_filename() for the original name before parallel suffixes. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0a5)

And 1 more in this version.

### coverage 5.0a2 breaking changes

coverage 5.0a2, released December 14, 2019: 2 breaking changes.

- **Removed**  

The .coverage data file is now an SQLite database. Set COVERAGE_STORAGE=json to keep the old format for now; you may need parallel=true where you did not before. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0a2)
- **Removed** `pickle2json`  

pickle2json, used to convert v3 data files to v4, has been removed. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0a2)

### coverage 5.0a1 breaking changes

coverage 5.0a1, released December 14, 2019: 1 breaking change.

- **Removed**  

Coverage.py no longer supports Python 2.6 or 3.3; users on those runtimes must stay on older releases. [github.com](https://github.com/coveragepy/coveragepy/releases/tag/coverage-5.0a1)

## 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.
