Skip to content

Run the linters on the latest Python 3.14 patch release - #917

Merged
martin-martin merged 1 commit into
masterfrom
fix-linters-python-314-ubuntu-26
Oct 23, 2026
Merged

martin-martin merged 1 commit into
masterfrom
fix-linters-python-314-ubuntu-26

Conversation

@martin-martin

Copy link
Copy Markdown
Contributor

CI fails on every PR that lands on an Ubuntu 26.04 runner:

##[error]Version 3.14.0 with arch x64 not found

GitHub is moving ubuntu-latest to Ubuntu 26.04 between October 19 and November 19, 2026. actions/python-versions only builds 3.14.6 and later for 26.04, and the matrix has pinned the exact 3.14.0 since #693. The first failure was #916 today; every earlier run had landed on 24.04.

  • python: '3.14.0' → '3.14', which resolves to the latest 3.14 patch release (3.14.9 today) on both 24.04 and 26.04
  • Cache key v1 → v2: the cached ./venv points at the 3.14.0 interpreter path, so a cache hit would break under a new patch release

Requested by Martin Breuss in maintenance triage.

🤖 Generated with Claude Code

GitHub is moving ubuntu-latest to Ubuntu 26.04, and actions/python-versions
has no 3.14.0 build for 26.04 (3.14.6+ only), so setup-python fails.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@martin-martin
martin-martin merged commit 539b1fa into master Oct 23, 2026
1 check passed
@martin-martin
martin-martin deleted the fix-linters-python-314-ubuntu-26 branch October 23, 2026 11:26
bzaczynski pushed a commit that referenced this pull request Nov 10, 2026
The cached ./venv links to the interpreter it was built with. Since #917
resolves '3.14' to the latest patch, a new patch release (3.14.9 to
3.14.10) leaves the cached venv pointing at a missing interpreter, and
the cache hit skips the install, so 'python -m ruff' runs without Ruff.

Include setup-python's resolved python-version in the cache key, so each
patch release builds a fresh venv, and update checkout, setup-python, and
cache to their current major versions (as proposed in #717).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant