Repository navigation
Description
Summary
The Python workflow's test (Python 3.9) job fails in the actions/setup-python step before any test runs. The ubuntu-latest runner image now resolves to Ubuntu 26.04, and the actions/python-versions manifest has no CPython 3.9 build for that image, so every pull request that touches python/ gets a red check.
Background
.github/workflows/python.yml defines the test job with runs-on: ubuntu-latest, a python-version matrix of ['3.9', '3.11', '3.13'], and actions/setup-python@v7. The newest 3.9 release in the manifest ships linux/x64 builds for Ubuntu 22.04 and 24.04 only, while 3.10, 3.11 and 3.13 also have 26.04 builds, so only the 3.9 leg fails. python/pyproject.toml declares requires-python = ">=3.9" (line 10), so the 3.9 leg is the only CI coverage of the declared floor.
Proposed Solution
Pin the Python 3.9 matrix leg to a runner image that still has a 3.9 build, ubuntu-24.04, while leaving the other legs on ubuntu-latest. This keeps coverage of the declared floor without dropping the 3.9 version.
Implementation Notes
.github/workflows/python.yml: thetestjob (runs-on: ubuntu-latest, matrixpython-version: ['3.9', '3.11', '3.13'],actions/setup-python@v7). Thelint, type-checkjob pins3.11and is unaffected.python/pyproject.toml:10:requires-python = ">=3.9".- A per-version
runs-on(for example a matrixinclude:entry, or a mapping expression) can keep 3.9 onubuntu-24.04and the rest onubuntu-latest.
Acceptance Criteria
test (Python 3.9)installs 3.9 and runspytest python/tests -m "not e2e"to completion.test (Python 3.11),test (Python 3.13)andlint, type-checkkeep passing.- The declared floor
>=3.9stays covered by CI.
Original Suggestion
Title: ci(python): test (Python 3.9) fails in setup-python now that ubuntu-latest is Ubuntu 26.04
Summary
The Python workflow's test (Python 3.9) job fails before any test runs: actions/setup-python cannot find a CPython 3.9 build for the runner image. Every pull request that touches python/ gets a red check from it, whatever the change is.
Reproduction steps
Open any pull request that changes a file under python/ (the workflow is path-filtered, so it had not run since 2026-10-21). Six such PRs opened on 2026-11-12 show the same failure: #3001, #3003, #3005, #3007, #3009, #3011.
Expected behavior
test (Python 3.9) installs Python 3.9 and runs the suite, as test (Python 3.11) and test (Python 3.13) do.
Actual behavior
The job stops in the setup step. test (Python 3.11), test (Python 3.13) and lint, type-check pass on the same PRs.
mlxcel version
main @ 955335a (.github/workflows/python.yml)
Install method
Built from source
Platform
GitHub-hosted runner, ubuntu-latest (Ubuntu 26.04, x64)
Model checkpoint
None needed
Relevant logs
From https://github.com/lablup/mlxcel/actions/runs/43160332554/job/130989701701:
Run actions/setup-python@v7
python-version: 3.9
Version 3.9 was not found in the local cache
##[error]The version '3.9' with architecture 'x64' was not found for Ubuntu 26.04.
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
Additional context
- Cause. The
testjob runs onubuntu-latest, which now resolves to Ubuntu 26.04. In theactions/python-versionsmanifest the newest 3.9 release (3.9.25) has linux/x64 builds for Ubuntu 22.04 and 24.04 only; 3.10, 3.11 and 3.13 have 26.04 builds as well. - History. The last runs of this workflow before today were on 2026-10-21 (a push to
mainand a PR) and passed. python/pyproject.tomlstill declaresrequires-python = ">=3.9", so the 3.9 job is the only CI coverage of the declared floor.- A fix is ready on a branch: keep the 3.9 job on
ubuntu-24.04.
Pre-submission checks
- I searched existing issues and did not find a duplicate
- This is not a security vulnerability (those go to SECURITY.md instead)
Activity
[-]ci(python): test (Python 3.9) fails in setup-python now that ubuntu-latest is Ubuntu 26.04[/-][+]ci(python): Python 3.9 test job fails in setup-python on ubuntu-latest (now Ubuntu 26.04)[/+]ci(python): test 3.11, 3.13 and 3.14 on ubuntu-latest
chore(python): raise the client's Python floor to 3.11 (#3064)
ci(python): test 3.11, 3.13 and 3.14 on ubuntu-latest (lablup#3013)