●Change8

8.3.5

📦 pytestView on GitHub →
✨ 1 features🐛 5 fixes

Summary

pytest 8.3.5 delivers multiple bug fixes—including import‑mode crashes and libedit input handling—and re‑enables support for newer Towncrier versions when building Sphinx documentation.

✨ New Features

  • Support for Towncrier versions released in 2024 has been re‑enabled when building Sphinx documentation.

🐛 Bug Fixes

  • Fixed issue where sequences were still being shortened even with `-vv` verbosity. (see #11777)
  • Fixed broken input when using Python 3.13+ and a `libedit` build of Python (e.g., on macOS or uv‑managed Python binaries from the `python-build-standalone` project). This could manifest as a broken prompt when using `Pdb` or empty inputs with manual `input()` and suspended capturing. (see #12888)
  • Fixed `AttributeError` crash when using `--import-mode=importlib` and the top‑level directory has the same name as a standard‑library module. (see #13026)
  • Fixed a regression in pytest 8.3.4 where, when using `--import-mode=importlib`, a directory containing a `.py` file with the same name would cause an `ImportError`. (see #13053)
  • Fixed issue where pytest could crash if one of the collected directories was removed during collection. (see #13083)