Skip to content

CI: drop the Python 3.9 MyPy job (not available on the new runner image) - #276

Merged
yl231 merged 1 commit into
mainfrom
ci/drop-python-3.9
Nov 10, 2026
Merged

yl231 merged 1 commit into
mainfrom
ci/drop-python-3.9

Conversation

@yl231

@yl231 yl231 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

GitHub's ubuntu-latest runners moved to Ubuntu 26.04, and setup-python there has no Python 3.9:

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

So MyPy (3.9) now fails on every PR, and it cancels the other versions' MyPy jobs with it. That happened on #275, for example.

Changes:

  • pyproject.toml supports >3.10,<3.13, so the MyPy matrix becomes 3.10, 3.11 and 3.12, and the unused mypy-3.9 hook is removed.
  • fail-fast: false, so one version's failure no longer cancels the others.

The pre-commit job is unchanged.

🤖 Generated with Claude Code

…pports

GitHub's ubuntu-latest runners moved to Ubuntu 26.04, where setup-python
has no Python 3.9 ("The version '3.9' with architecture 'x64' was not
found"), so MyPy (3.9) fails on every PR and cancels the other versions'
jobs. pyproject.toml supports >3.10,<3.13, so the matrix becomes 3.10-3.12
and the unused mypy-3.9 hook is removed. fail-fast is off, so one version's
failure no longer cancels the rest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yl231
yl231 merged commit 7b5a55e into main Nov 10, 2026
8 checks passed
@yl231
yl231 deleted the ci/drop-python-3.9 branch November 10, 2026 22:01
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