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

# pytest-html breaking changes

pytest-html 4.0.0 (September 1, 2023) is its newest release with breaking changes, 8 of them. The first: pytest-html 4.0.0 drops support for Python 3.7. Every breaking API change we have recorded in pytest-html on PyPI: 14 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.2.0`, released January 19, 2026. 

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

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 8 breaking changes in 1 version.
- From [2.0.0](#v-2-0-0) to [4.0.0](#v-4-0-0): 12 breaking changes in 3 versions.

## pytest-html 4.0.0 breaking changes

pytest-html 4.0.0, released September 1, 2023: 8 breaking changes.

- **Removed**  

Python 3.7 is no longer supported in this release, so users on Python 3.7 must upgrade Python before updating. [github.com](https://github.com/pytest-dev/pytest-html/releases/tag/4.0.0)
- **Removed** `pytest_html.html_report`  

pytest_html.html_report was removed in pytest-html 4.0.0 [pypi.org](https://pypi.org/project/pytest-html/4.0.0/)
- **Removed** `pytest_html.outcome`  

pytest_html.outcome was removed in pytest-html 4.0.0 [pypi.org](https://pypi.org/project/pytest-html/4.0.0/)
- **Removed** `pytest_html.plugin.HTMLReport`  

pytest_html.plugin.HTMLReport was removed in pytest-html 4.0.0 [pypi.org](https://pypi.org/project/pytest-html/4.0.0/)
- **Removed** `pytest_html.result`  

pytest_html.result was removed in pytest-html 4.0.0 [pypi.org](https://pypi.org/project/pytest-html/4.0.0/)
- **Removed** `pytest_html.util.ansi_support`  

pytest_html.util.ansi_support was removed in pytest-html 4.0.0 [pypi.org](https://pypi.org/project/pytest-html/4.0.0/)
- **Renamed** `pytest_html.plugin.extra`  

Use pytest_html.fixtures.extra instead. [pypi.org](https://pypi.org/project/pytest-html/4.0.0/)
- **Signature changed** `pytest_html.hooks.pytest_html_results_summary`  

Was def pytest_html_results_summary(prefix, summary, postfix); now def pytest_html_results_summary(prefix, summary, postfix, session). [pypi.org](https://pypi.org/project/pytest-html/4.0.0/)

## pytest-html 3.0.0 breaking changes

pytest-html 3.0.0, released November 15, 2020: 3 breaking changes.

- **Removed** `pytest_html.plugin.ANSI`  

pytest_html.plugin.ANSI was removed in pytest-html 3.0.0 [pypi.org](https://pypi.org/project/pytest-html/3.0.0/)
- **Signature changed** `pytest_html.extras.extra`  

Was def extra(content, format, name=None, mime_type=None, extension=None); now def extra(content, format_type, name=None, mime_type=None, extension=None). [pypi.org](https://pypi.org/project/pytest-html/3.0.0/)
- **Signature changed** `pytest_html.plugin.HTMLReport.TestResult.append_log_html`  

Was def append_log_html(self, report, additional_html); now def append_log_html(self, report, additional_html, pytest_capture_value, pytest_show_capture_value). [pypi.org](https://pypi.org/project/pytest-html/3.0.0/)

## pytest-html 3.0.0a0 breaking changes

pytest-html 3.0.0a0, released November 15, 2020: 1 breaking change.

- **Removed**  

The release no longer supports Python 2.7, so projects using pytest-html on Python 2.7 must move to Python 3. [github.com](https://github.com/pytest-dev/pytest-html/releases/tag/v3.0.0a0)

## pytest-html 2.0.0 breaking changes

pytest-html 2.0.0, released September 9, 2019: 2 breaking changes.

- **Removed** `pytest_html.plugin.basestring`  

pytest_html.plugin.basestring was removed in pytest-html 2.0.0 [pypi.org](https://pypi.org/project/pytest-html/2.0.0/)
- **Removed** `pytest_html.plugin.PY3`  

pytest_html.plugin.PY3 was removed in pytest-html 2.0.0 [pypi.org](https://pypi.org/project/pytest-html/2.0.0/)

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