Skip to content

ci: Pin Python-dependent jobs to ubuntu-24.04 - #8582

Closed
ElioDiNino wants to merge 1 commit into
masterfrom
ci/pin-ubuntu-24.04
Closed

ElioDiNino wants to merge 1 commit into
masterfrom
ci/pin-ubuntu-24.04

Conversation

@ElioDiNino

Copy link
Copy Markdown
Member

ubuntu-latest now resolves to Ubuntu 26.04, which breaks five 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 (the earliest 3.13 build there is 3.13.13), so action-setup-venv fails.
  • Linting - Rust: this job builds against the runner's system Python, which is 3.14 on 26.04. PyO3 0.24.1 only supports up to 3.13.

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-version would put CI on a different Python than prod. Each pin has a comment so we can remove it once that bump happens.

@ElioDiNino
ElioDiNino requested a review from a team as a code owner October 20, 2026 22:49
@ElioDiNino

Copy link
Copy Markdown
Member Author

Superseded by #8583, which bumps Python instead of pinning runners.

@ElioDiNino ElioDiNino closed this Oct 20, 2026
@ElioDiNino
ElioDiNino deleted the ci/pin-ubuntu-24.04 branch October 20, 2026 22:54
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.
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