Skip to content

Fix docs build on Python 3.14: add setuptools to docs requirements#258

Merged
chrisyamas merged 1 commit into
mainfrom
fix-docs-build-python-314-setuptools
May 8, 2026
Merged

Fix docs build on Python 3.14: add setuptools to docs requirements#258
chrisyamas merged 1 commit into
mainfrom
fix-docs-build-python-314-setuptools

Conversation

@chrisyamas

Copy link
Copy Markdown
Contributor

Pull Request

Fixes the build-deploy job in .github/workflows/docs.yml, which started failing on all PRs after the workflow's python-version: '3.x' started resolving to Python 3.14. Python 3.14 no longer ships pkg_resources as part of the default install, and mike<2.0 (pinned in docs/requirements.txt) imports pkg_resources on startup, so it crashes with ModuleNotFoundError: No module named 'pkg_resources' before doing any work.

Adding setuptools to docs/requirements.txt restores pkg_resources and unblocks the docs build without changing the Python version or upgrading mike.

This is not a spec change, so the spec-change checklist does not apply.

By contributing to this project, all contributors certify to the Developer Certificate of Origin in CONTRIBUTING.md.

@chrisyamas chrisyamas requested a review from a team as a code owner May 8, 2026 13:04
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

@chrisyamas chrisyamas merged commit a831bfa into main May 8, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants