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
On this page
Latest version 4.2.0, released January 19, 2026.
Its 4.0.0 release drops Python 3.7. Python end of life dates.
- From 3.0.0 to 4.0.0: 8 breaking changes in 1 version.
- From 2.0.0 to 4.0.0: 12 breaking changes in 3 versions.
pytest-html 4.0.0 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 - Removed
pytest_html.html_report
pytest_html.html_report was removed in pytest-html 4.0.0 pypi.org - Removed
pytest_html.outcome
pytest_html.outcome was removed in pytest-html 4.0.0 pypi.org - Removed
pytest_html.plugin.HTMLReport
pytest_html.plugin.HTMLReport was removed in pytest-html 4.0.0 pypi.org - Removed
pytest_html.result
pytest_html.result was removed in pytest-html 4.0.0 pypi.org - Removed
pytest_html.util.ansi_support
pytest_html.util.ansi_support was removed in pytest-html 4.0.0 pypi.org - Renamed
pytest_html.plugin.extra
Use pytest_html.fixtures.extra instead. pypi.org - 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
pytest-html 3.0.0 breaking changes
- Removed
pytest_html.plugin.ANSI
pytest_html.plugin.ANSI was removed in pytest-html 3.0.0 pypi.org - 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 - 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
pytest-html 3.0.0a0 breaking changes
- 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
pytest-html 2.0.0 breaking changes
- Removed
pytest_html.plugin.basestring
pytest_html.plugin.basestring was removed in pytest-html 2.0.0 pypi.org - Removed
pytest_html.plugin.PY3
pytest_html.plugin.PY3 was removed in pytest-html 2.0.0 pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.