Skip to content

Fix CI: move config_checker to Python 3.12 - #1422

Open
andrewlukoshko wants to merge 1 commit into
masterfrom
fix-ci-python-version
Open

andrewlukoshko wants to merge 1 commit into
masterfrom
fix-ci-python-version

Conversation

@andrewlukoshko

Copy link
Copy Markdown
Member

Problem

ubuntu-latest now resolves to Ubuntu 26.04, and actions/setup-python has no Python 3.9 build for it, so every PR run fails at the setup step (e.g. https://github.com/AlmaLinux/mirrors/actions/runs/43314518228):

The version '3.9' with architecture 'x64' was not found for Ubuntu 26.04.

Changes

  • .github/workflows/ci.yml: Python 3.9 → 3.12, actions/setup-python v4 → v6, hard-coded python3.9 calls → python
  • gh_ci/req.txt: aiohttp 3.8.5 → 3.14.5 (3.8.5 does not install on 3.12), drop the obsolete dataclasses backport
  • gh_ci/config_checker.py: shebang python3.9 → python3

Testing

Ran the checker locally on Python 3.12 with the new pins against config.yml and two mirror configs; all validated and both mirrors were reported available.

Open PRs need a new push or close/reopen after this merges to pick up the fixed workflow.

ubuntu-latest is now Ubuntu 26.04, for which setup-python has no
Python 3.9 build. Use Python 3.12, bump setup-python to v6, update
aiohttp to a release with 3.12 wheels and drop the obsolete
dataclasses backport.

This branch has not been deployed

No deployments
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