Skip to content

Fix combined builds missing HTML output - #354

Merged
StanFromIreland merged 2 commits into
python:mainfrom
StanFromIreland:html-missing
Sep 5, 2026
Merged

Fix combined builds missing HTML output#354
StanFromIreland merged 2 commits into
python:mainfrom
StanFromIreland:html-missing

Conversation

@StanFromIreland

Copy link
Copy Markdown
Member

python/cpython@9104fc6 made make autobuild-stable build only the non-HTML archives via dist-no-html, whereas previously the dist target had built HTML too. build_docs.py in the combined mode (no --select-output, as suggested in the README) still expects Doc/build/html/ to exist after that target, so setup_switchers() crashed with FileNotFoundError writing _static/switchers.js. Reported by Sentry at https://python-software-foundation.sentry.io/issues/7712785037/.

Comment thread build_docs.py Outdated
Comment thread build_docs.py Outdated
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

We've had security builds (in March) since that commit (in October), but I probably did separate builds: English HTML, then translation HTML, then the rest.

@StanFromIreland
StanFromIreland merged commit dfc4fec into python:main Sep 5, 2026
14 checks passed
@StanFromIreland
StanFromIreland deleted the html-missing branch September 5, 2026 14:53
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