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
{{ message }}
Repository navigation
Sphinx conf.py needs_version entry is outdated #86986
Possible solutions:
a) Drop the needs_version config value. It's optional.
b) Make sure to update both places.
c) Or at minimum add a comment that needs_version is only a safeguard against very old sphinx versions but is not necessarily sufficient to build.
SUSE is less clear to me. I think the rolling openSUSE is already using Sphinx 4.5.0 for Python 3.10. But Leap also has a Python 3.10 package which I think still builds doc with Sphinx 2.3.
Apparently for 3.11 we are clear. Since #92318 was also backported to 3.10, the SUSE package maintainers might appreciate a heads up.
Activity
timhoffm commentedon Jan 4, 2021
The sphinx conf.py entry
needs_version=1.8(cpython/Doc/conf.py
Line 48 in 1470edd
is not in sync with the doc build requirements (
cpython/Doc/requirements.txt
Line 6 in 1470edd
Possible solutions:
a) Drop the
needs_versionconfig value. It's optional.b) Make sure to update both places.
c) Or at minimum add a comment that
needs_versionis only a safeguard against very old sphinx versions but is not necessarily sufficient to build.terryjreedy commentedon Jan 8, 2021
This is related to bpo-42843, which is about deciding what the min sphinx should be. Since the alternative to 3.2 is some 2.x, 1,8 is certainly wrong.
JulienPalard commentedon May 9, 2022
This is now related to #92318, the new needs_sphinx is 3.2, cc @sorcio.
sorcio commentedon May 29, 2022
Since the time of the discussion in #87009, it looks like the mentioned restrictions are now mostly gone:
Apparently for 3.11 we are clear. Since #92318 was also backported to 3.10, the SUSE package maintainers might appreciate a heads up.
pythongh-86986: bump min sphinx version to 3.2 (pythonGH-93337)
gh-86986: bump min sphinx version to 3.2 (GH-93337)
pythongh-86986: bump min sphinx version to 3.2 (pythonGH-93337)
gh-86986: bump min sphinx version to 3.2 (GH-93337) (GH-93561)
gh-86986: bump min sphinx version to 3.2 (GH-93337) (GH-93562)
ambv commentedon Jun 7, 2022
Fixed on 3.10, 3.11, and 3.12.
gh-86986: Drop compatibility support for Sphinx 2 (GH-93737)
pythongh-86986: Drop compatibility support for Sphinx 2 (pythonGH-9…
pythongh-86986: Drop compatibility support for Sphinx 2 (pythonGH-9…
gh-86986: Drop compatibility support for Sphinx 2 (GH-93737)
gh-86986: Drop compatibility support for Sphinx 2 (GH-93737)
Revert 30935 defer bpo45162 to 312 (#94285)