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
The pinned version of Sphinx for 3.10 needs pkg_resources #145455
On 3.10, Doc/requirements.txt pins Sphinx==3.4.3, which needs pkg_resources. Setuptools docs advise pinning to an older version of setuptools.
This causes builds to fail with an opaque error: the makefile suppresses output of blurb help and sphinx-build --version, and assumes that any failure means that the tools are missing:
mkdir -p build
Missing the required blurb or sphinx-build tools.
Please run 'make venv' to install local copies.
make: *** [Makefile:51: build] Error 1
make: Leaving directory '/home/runner/work/cpython/cpython/Doc'
This causes builds to fail with an opaque error: the makefile suppresses output of blurb help and sphinx-build --version, and assumes that any failure means that the tools are missing:
Yeah, that is annoying, I've run into it in the past. Perhaps we should replace version checks with something like which blurb and which sphinx-build instead?
Activity
[3.10] pythongh-145455: Constrain setuptools to a version with pkg_re…
pythongh-145455: Show output of blurb & sphinx-build version commands
hugovk commentedon Mar 3, 2026
Yeah, that is annoying, I've run into it in the past. Perhaps we should replace version checks with something like
which blurbandwhich sphinx-buildinstead?encukou commentedon Mar 3, 2026
See the second PR for what I'd do :)
gh-145455: Show output of blurb & sphinx-build version commands (GH-1…
pythongh-145455: Show output of blurb & sphinx-build version commands (…
pythongh-145455: Show output of blurb & sphinx-build version commands (…
[3.13] gh-145455: Show output of blurb & sphinx-build version commands (
[3.14] pythongh-145455: Show output of blurb & sphinx-build version c…
pythongh-145455: Show output of blurb & sphinx-build version commands (…
[3.10] gh-145455: Constrain setuptools to a version with pkg_resources (
[3.10] gh-145455: Show output of blurb & sphinx-build version commands (
[3.12] gh-145455: Show output of blurb & sphinx-build version commands (
[3.11] gh-145455: Show output of blurb & sphinx-build version commands (
hugovk commentedon Mar 5, 2026
Thanks, all merged, and https://docs.python.org/3.10/ is now 3.10.20!
pythongh-145455: Show output of blurb & sphinx-build version commands (…