Skip to content

hotfix(ci): run the docs deploys and module-index sync on Python 3.12 (0.20.11) - #438

Merged
andrewjong merged 1 commit into
mainfrom
hotfix/docs-python-3.12
Dec 2, 2026
Merged

andrewjong merged 1 commit into
mainfrom
hotfix/docs-python-3.12

Conversation

@andrewjong

Copy link
Copy Markdown
Member

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-latest runner is now Ubuntu 26.04, which has no Python 3.10.6 build. Four workflows asked actions/setup-python@v4 for 3.10.6 and stopped at that step:

    ##[error]The version '3.10.6' with architecture 'x64' was not found for Ubuntu 26.04.
    
    Workflow Effect
    deploy_docs_from_develop.yaml develop docs not published since 2026-10-19; nothing merged to develop since then (including the Project AirSim guide) is on the site
    deploy_docs_from_main.yaml the 0.20.9 and 0.20.10 hotfix notes are not published
    deploy_docs_from_release.yaml would fail at the next release
    sync-modules-index.yml the daily registry sync fails

    This 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@v5 with python-version: "3.12", the same setup unit-tests.yml already 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:

  • the main docs deploy runs on the merge push;
  • the sync to develop triggers the develop docs deploy;
  • sync-modules-index runs on its next schedule, or now via Actions → sync-modules-index → Run workflow.

To reproduce the build locally on the new Python:

docker run --rm -v "$PWD":/repo:ro -w /repo python:3.12-slim bash -c \
  "pip install mkdocs-material mkdocs-same-dir mkdocs-redirects pyyaml pillow cairosvg mike && mkdocs build -d /tmp/site"

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-slim container (Python 3.12.16), with the workflow's dependency set, it built this branch's docs. In the same container, tools/gen_docs_catalog.py and .github/workflows/scripts/registry_sync.py load.

  • What are the expected results of the tests?

    The docs build completes. After merge, the main and develop docs deploys pass setup-python and 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 .env file according to semantic versioning?

    Yes: 0.20.10 → 0.20.11 (patch hotfix).

🤖 Generated with Claude Code

… (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>
@andrewjong
andrewjong merged commit e50face into main Dec 2, 2026
3 of 4 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.

1 participant