Skip to content

Drop Python 3.9 so CI runs on ubuntu-latest again - #90

Merged
Rabsztok merged 1 commit into
mainfrom
fix-ci-ubuntu-26-04
Oct 29, 2026
Merged

Rabsztok merged 1 commit into
mainfrom
fix-ci-ubuntu-26-04

Conversation

@Rabsztok

@Rabsztok Rabsztok commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Motivation

CI on main fails since ubuntu-latest switched to Ubuntu 26.04: The version '3.9' with architecture 'x64' was not found for Ubuntu 26.04, and fail-fast cancels the other jobs. Python 3.9 reached end-of-life in October 2025, so actions/python-versions publishes no 26.04 build for it.

Changes

  • Python 3.9 is removed from the CI matrix and the tox envlist. All jobs stay on ubuntu-latest, windows-latest and macos-latest.
  • requires-python goes to >=3.10, the 3.9 classifier is removed, and the README says 3.10+.

Impacts

  • Users on Python 3.9 can no longer install new releases. pip keeps them on the last release that supports 3.9.

How to test

  • All 12 Test python… on … jobs pass on this PR

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2ead5226-95f2-492a-8d63-e4e8e24b8c7a
Commits

Reviewing files that changed from the base of the PR and between 33f465f and 60b3d91.

Files selected for processing: 1
  • .github/workflows/main.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

The CI workflow excludes the ubuntu-latest and Python 3.9 combination. It adds a Python 3.9 job on ubuntu-24.04 using the py39 tox environment.

Changes: Python 3.9 CI

Layer / File(s) Summary
Python 3.9 matrix entry
.github/workflows/main.yml
The matrix excludes ubuntu-latest for Python 3.9 and adds ubuntu-24.04 with the py39 tox environment.

Priority: Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Merge Risk: Minimal · up to 60b3d

The Python 3.9 CI job is correctly relocated to Ubuntu 24.04 without reducing supported coverage.

Pre-merge checks: Passed 2 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Title check Warning The title is misleading. The pull request retains Python 3.9 CI on ubuntu-24.04 and does not drop Python 3.9 or restore its job on ubuntu-latest. Rename the pull request to reflect the actual change, such as "Run Python 3.9 CI on ubuntu-24.04".
Description check Warning The description is largely inconsistent with the pull request changes. It states that Python 3.9 support is removed from CI, tox, package metadata, and documentation, but the pull request adds a Pytho… Rewrite the description to state that the Python 3.9 CI job runs on ubuntu-24.04 through matrix exclusion and inclusion. Confirm that package support, tox configuration, and other CI jobs remain unchanged. Update the test plan to match the …
Passed Passed checks: 2 passed
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description is largely inconsistent with the pull request changes. It states that Python 3.9 support is removed from CI, tox, package metadata, and documentation, but the pull request adds a Python 3.9 job on ubuntu-24.04 and retains Python 3.9 support. It also omits the required Images and GIFs section.

Resolution

Rewrite the description to state that the Python 3.9 CI job runs on ubuntu-24.04 through matrix exclusion and inclusion. Confirm that package support, tox configuration, and other CI jobs remain unchanged. Update the test plan to match the actual job count and include the required Images and GIFs section, or state that images are not applicable if the repository permits that format.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

ubuntu-latest now runs Ubuntu 26.04, which has no Python 3.9 build
(3.9 reached end-of-life in October 2025), so the 3.9 Ubuntu job fails
to set up. Remove 3.9 from the CI matrix and the tox envlist, and raise
requires-python, the classifiers and the README to 3.10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Rabsztok
Rabsztok force-pushed the fix-ci-ubuntu-26-04 branch from 60b3d91 to c82266c Compare October 29, 2026 06:10
@Rabsztok Rabsztok changed the title Fix CI on Ubuntu 26.04 by running the Python 3.9 job on ubuntu-24.04 Drop Python 3.9 so CI runs on ubuntu-latest again Oct 29, 2026
@Rabsztok
Rabsztok enabled auto-merge October 29, 2026 11:32
@Rabsztok
Rabsztok merged commit 2b08930 into main Oct 29, 2026
13 checks passed
@Rabsztok
Rabsztok deleted the fix-ci-ubuntu-26-04 branch October 29, 2026 12:10
@github-actions github-actions Bot mentioned this pull request Oct 29, 2026
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.

3 participants