Repository navigation
ci: Pin Python-dependent jobs to ubuntu-24.04 - #8582
Closed
ElioDiNino wants to merge 1 commit into
Closed
ElioDiNino wants to merge 1 commit into
ElioDiNino wants to merge 1 commit into
Conversation
Member
Author
|
Superseded by #8583, which bumps Python instead of pinning runners. |
ElioDiNino
added a commit
that referenced
this pull request
Oct 20, 2026
`ubuntu-latest` now resolves to Ubuntu 26.04, which breaks five CI jobs (seen on #8562): - **pre-commit hooks, Dataset Config Validation, Sphinx, Post new DDL changes**: `actions/setup-python` has no 3.13.12 build for 26.04, so `action-setup-venv` fails. 3.13.13 and later have builds for both 22.04/24.04 and 26.04. - **Linting - Rust**: this job built against the runner's system Python, which is 3.14 on 26.04. PyO3 0.24.1 only supports up to 3.13. The job now installs the Python from `.python-version`. `.python-version` and the Dockerfile base image move together to 3.13.15, which is already mirrored at `ghcr.io/getsentry/image-mirror-library-python:3.13.15-slim-trixie`. Replaces #8582, which pinned the jobs to `ubuntu-24.04` instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ubuntu-latestnow resolves to Ubuntu 26.04, which breaks five jobs (seen on #8562):actions/setup-pythonhas no 3.13.12 build for 26.04 (the earliest 3.13 build there is 3.13.13), soaction-setup-venvfails.This pins those jobs to
ubuntu-24.04. The real fix is bumping.python-version, but the Dockerfile's base image mirror (image-mirror-library-python) has no 3.13.13+ tags yet, and bumping only.python-versionwould put CI on a different Python than prod. Each pin has a comment so we can remove it once that bump happens.