Skip to content

The pinned version of Sphinx for 3.10 needs pkg_resources #145455

@encukou

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

Metadata

Metadata

Assignees

Labels

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

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions