Skip to content

The pinned version of Sphinx for 3.10 needs pkg_resources #145455

Closed

Description

@encukou

Bug report

Bug description:

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'

CPython versions tested on:

3.10

Operating systems tested on:

No response

Linked PRs

Activity

  1. self-assigned this
    on Mar 3, 2026
  2. added
    type-bugAn unexpected behavior, bug, or error
    docsDocumentation in the Doc dir
    infraCI, GitHub Actions, buildbots, Dependabot, etc.
    on Mar 3, 2026
  3. added 2 commits that reference this issue on Mar 3, 2026
  4. hugovk commented on Mar 3, 2026

    @hugovk
    Member

    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?

  5. encukou commented on Mar 3, 2026

    @encukou
    MemberAuthor

    See the second PR for what I'd do :)

  6. added a commit that references this issue on Mar 3, 2026
  7. added 2 commits that reference this issue on Mar 3, 2026
  8. added a commit that references this issue on Mar 3, 2026
  9. added a commit that references this issue on Mar 3, 2026
  10. added a commit that references this issue on Mar 4, 2026
  11. added 4 commits that reference this issue on Mar 5, 2026
  12. hugovk commented on Mar 5, 2026

    @hugovk
    Member

    Thanks, all merged, and https://docs.python.org/3.10/ is now 3.10.20!

  13. added a commit that references this issue on Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docsDocumentation in the Doc dirinfraCI, GitHub Actions, buildbots, Dependabot, etc.type-bugAn unexpected behavior, bug, or error

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions