Skip to content

CI tests Python 3.9 on Ubuntu 24.04, since the newest runners no longer offer it - #382

Merged
wr merged 1 commit into
mainfrom
wells/ci-python-3-9-on-ubuntu-24-04
Nov 20, 2026
Merged

wr merged 1 commit into
mainfrom
wells/ci-python-3-9-on-ubuntu-24-04

Conversation

@wr

@wr wr commented Nov 20, 2026

Copy link
Copy Markdown
Owner

GitHub's `ubuntu-latest` runners are now Ubuntu 26.04, and `actions/setup-python` has no Python 3.9 build for it. The 3.9 server job fails at setup in a few seconds, before any test runs. Because it is a required check, no PR can merge.

The 3.9 job now runs on `ubuntu-24.04`, which still has 3.9.25. The 3.12 job stays on `ubuntu-latest`. The job names don't change, so the required checks still match.

Verified

  • The actions/python-versions manifest lists 3.9.25 for Ubuntu 22.04 and 24.04 only.
  • The workflow parses. This PR's own CI run is the real test.

Left

  • Ubuntu 24.04 runners will be retired one day. When that happens, the 3.9 job can move to a `python:3.9` container.

@wr
wr merged commit af3cae3 into main Nov 20, 2026
6 checks passed
@wr
wr deleted the wells/ci-python-3-9-on-ubuntu-24-04 branch November 20, 2026 03:34
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