Repository navigation
hotfix(ci): run the docs deploys and module-index sync on Python 3.12 (0.20.11) - #438
Merged
Merged
Conversation
… (0.20.11) GitHub's ubuntu-latest runner is now Ubuntu 26.04, which has no Python 3.10.6 build, so actions/setup-python failed before any step ran in the main, develop and release docs deploys and in sync-modules-index. The develop docs had not been published since 2026-10-19. Use actions/setup-python@v5 with Python 3.12 in all four workflows, as unit-tests.yml already does (it passes on the 26.04 image). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What features did you add and/or bugs did you address?
Which GitHub issue does this address?
No issue. The docs deploys and the module-index sync have been failing on every run.
Additional description if not fully described in the GitHub issue
GitHub's
ubuntu-latestrunner is now Ubuntu 26.04, which has no Python 3.10.6 build. Four workflows askedactions/setup-python@v4for 3.10.6 and stopped at that step:deploy_docs_from_develop.yamldeploy_docs_from_main.yamldeploy_docs_from_release.yamlsync-modules-index.ymlThis targets main because scheduled and manual runs use the default branch's workflow files. The main → develop sync carries the fix to develop, and that push republishes the develop docs.
Please add videos and images to demonstrate the feature.
Not applicable: a CI-only change.
How did you implement it?
All four workflows now use
actions/setup-python@v5withpython-version: "3.12", the same setupunit-tests.ymlalready uses; its last run passed on the Ubuntu 26.04 image. Nothing else changes.How do you run and use it?
Nothing to run by hand. Once this merges:
sync-modules-indexruns on its next schedule, or now via Actions → sync-modules-index → Run workflow.To reproduce the build locally on the new Python:
Testing with PyTest
What pytests did you add to ensure the feature is reliable and robust? What metrics are used?
None; the change is workflow configuration only.
What's the exact command to run the pytests that test your feature?
The command above. In a
python:3.12-slimcontainer (Python 3.12.16), with the workflow's dependency set, it built this branch's docs. In the same container,tools/gen_docs_catalog.pyand.github/workflows/scripts/registry_sync.pyload.What are the expected results of the tests?
The docs build completes. After merge, the main and develop docs deploys pass
setup-pythonand publish.Documentation
Was mkdocs.yml updated? (y/n)
n
Do the docs have sufficient scope such that a newcomer can easily reproduce and use your feature?
Release note added under 0.20.11.
Is there sufficient visual media?
Not applicable.
Versioning
Did you make sure to bump the version number in the
.envfile according to semantic versioning?Yes: 0.20.10 → 0.20.11 (patch hotfix).
🤖 Generated with Claude Code