Skip to content

The pinned version of Sphinx for 3.10 needs pkg_resources #145455

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

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