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)