Sourced from pytest's releases.
8.0.2
pytest 8.0.2 (2024-02-24)
Bug Fixes
- #11895: Fix collection on Windows where initial paths contain the short version of a path (for example
c:\PROGRA~1\tests
).- #11953: Fix an
IndexError
crash raising fromgetstatementrange_ast
.- #12021: Reverted a fix to [--maxfail]{.title-ref} handling in pytest 8.0.0 because it caused a regression in pytest-xdist whereby session fixture teardowns may get executed multiple times when the max-fails is reached.
31afeeb
Prepare release version 8.0.21b00a2f
Merge pull request #12025
from pytest-dev/backport-12022-to-8.0.xff2f66d
[8.0.x] Revert "Fix teardown error reporting when
--maxfail=1
(#11721)"8a8eed6
[8.0.x] Fix collection of short paths on Windows (#12024)74346f0
[8.0.x] Allow Sphinx 7.x (#12005)b7657b4
[8.0.x] Disallow Sphinx 6 and 7 (#12001)feb7c5e
Merge pull request #11999
from pytest-dev/backport-11996-to-8.0.x0909655
[8.0.x] code: fix IndexError
crash in
getstatementrange_ast
68524d4
Merge pull request #11993
from pytest-dev/release-8.0.1