Skip to content

ci: run the tests on ubuntu-24.04 - #135

Open
itzzdev09 wants to merge 1 commit into
nasa:developfrom
itzzdev09:ci-ubuntu-24.04-for-old-python
Open

itzzdev09 wants to merge 1 commit into
nasa:developfrom
itzzdev09:ci-ubuntu-24.04-for-old-python

Conversation

@itzzdev09

Copy link
Copy Markdown

ubuntu-latest now resolves to Ubuntu 26.04, and actions/setup-python has no Python 3.8 or 3.9 for it: the actions/python-versions manifest lists 3.8 and 3.9 builds only up to Ubuntu 24.04 (3.10 and later are there for 26.04). A job that sets one of those versions up on ubuntu-latest therefore fails in the setup step, before it runs anything.

The matrix in python-app.yml includes 3.8 and 3.9 on ubuntu-latest. I haven't seen a failing run of it for this reason. Other repositories already fail this way, for example treeverse/dvc: The version '3.9' with architecture 'x64' was not found for Ubuntu 26.04.

This pins the test job to ubuntu-24.04, where Python 3.8 to 3.13 are available. Nothing else changes. I checked the file with actionlint; I could not run the workflow itself.

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