Pytest is a Python testing framework available on GitHub. It’s useful for writing and running automated tests for Python projects, helping developers verify code behavior and catch regressions.
Project status
- pytest-dev/pytest appears actively maintained, with ongoing work evidenced by the most recent upstream push on 2026-05-18 and a steady stream of 9.0.x updates (9.0.3, 9.0.2, 9.0.1, 9.0.0).
- The apparent update cadence is fairly bursty after the 9.0.0 major update (9.0.0 on 2025-11-08, 9.0.1 on 2025-11-12, 9.0.2 on 2025-12-06), then slower but still ongoing (9.0.3 on 2026-04-07).
AI summary generated 2 weeks ago
Recent updates
9.0.3
1 month agopytest 9.0.3 is a patch release with five documented fixes and one security hardening change, plus documentation, contributor metadata, and CI updates. The runtime changes center on approx mapping comparison, conftest plugin blocking, exceptiongroup traceback hiding, unittest subTest output, and secure temporary directory handling.
BreakingSecurity9.0.2
5 months agopytest 9.0.2 is a bug-fix release that mainly changes terminal progress handling, restores compatibility for the private `config.inicfg` attribute, and fixes a quadratic-time unittest subtest path on Python 3.10. It also cleans up configuration docs and some CI and tooling settings.
Breaking9.0.1
6 months agopytest 9.0.1 is a bug-fix release that restores explicit `unittest.SkipTest` handling, disables the new terminal progress UI in iTerm2, and narrows a Python-version workaround to the affected 3.12 and 3.13 point releases. It also includes release engineering and packaging maintenance updates for contributors.
9.0.0
6 months agopytest 9.0.0 adds several major user-facing features, including subtests, native TOML config, strict mode, and terminal tab progress, while also dropping Python 3.9 and tightening long-deprecated behavior. The patch also modernizes config handling, release automation, and contributor tooling, with a noticeable amount of CI and workflow cleanup outside the core runtime changes.
BreakingFeatures8.4.2
9 months agoPytest 8.4.2 is a bug-fix release focused on crash fixes and Python 3.14 compatibility. It also tightens a few internal behaviors around signature handling, NumPy detection in `pytest.approx`, and test suite isolation from the `CI` environment variable.
8.4.1
11 months agopytest 8.4.1 is a bug-fix release that restores the missing non-None-return warning, fixes `TerminalReporter.isatty` so it can be called like a method, and updates Twisted trial compatibility for Twisted 25+. The diff also shows a small internal pytester performance tweak and documentation cleanup.
8.4.0
6/2/2025Pytest 8.4.0 adds several new assertion and reporting features, especially around `ExceptionGroup`, richer `pytest.raises` matching, output capture, and traceback rendering. It also ships a few backward incompatible behavior changes, including stricter async test handling, failing tests that return values, dropping Python 3.8 support, and making yield-based test functions an error.
BreakingFeatures8.3.5
3/2/2025pytest 8.3.5 is a bug-fix, drop-in release that improves assertion rendering, fixes several `--import-mode=importlib` edge cases, and restores interactive input handling on Python 3.13+ `libedit` builds. It also adds a dedicated docs page for typing support and refreshes release tooling and CI configuration.
Features8.3.4
12/1/2024pytest 8.3.4 is a bugfix release focused on importlib-mode stability, assertion rewriting location fidelity, colored failure output, and stricter `pytest.approx` behavior for booleans. It also includes documentation clarifications and a small test/CI maintenance update.
8.3.3
9/10/2024pytest 8.3.3 is a bug fix release focused on correctness during test collection, improved assertion reporting, and typing compatibility. It also includes Windows path handling fixes and stability improvements when disabling plugins like the terminal.