You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Sphinx 6 compatibility in conftest.py rootdir fixture
The sphinx.testing.path.path object in Sphinx <7.2 doesn't have an
.absolute() method. The path is already absolute, so we can use it
directly without calling .absolute().
This fixes the AttributeError: 'path' object has no attribute 'absolute'
error that was causing all 110 tests to fail on Sphinx 6.
The version check ensures Sphinx 7.2+ continues to use pathlib.Path
with .absolute() as before.
0 commit comments