Skip to content

Temporarily use Ubuntu 24.04 for Python 3.9 Linux CI - #1082

Merged
kbattocchi merged 1 commit into
mainfrom
kebatt/temporary-python39-ci
Nov 14, 2026
Merged

kbattocchi merged 1 commit into
mainfrom
kebatt/temporary-python39-ci

Conversation

@kbattocchi

@kbattocchi kbattocchi commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

Unblock the release while preserving Python 3.9 package support. ubuntu-latest moved to Ubuntu 26.04, where actions/setup-python cannot install Python 3.9.

  • Select Ubuntu 24.04 only for Python 3.9 Linux test and store-reqs-per-env jobs; retain existing runner selection for newer Python versions and other platforms.
  • Move lint to Python 3.12 and run workflow helper tests there.
  • Add 25 focused regression cases with precise docstrings for runner selection and lint configuration.

Package metadata, classifiers, wheel targets, dependency requirements, matrix labels, and LKG snapshots are unchanged. Keeping the original matrix labels also preserves LKG artifact naming and generation.

Release ordering

This is a temporary fix to unblock our upcoming 0.17.1 bugfix release; our next major version will more completely address the issue by officially removing support for Python 3.9 (see the stacked pr #1081), and then additionally adding support for Python 3.15 in a later commit.

Merge this PR for the bugfix release; keep #1081 draft until that release is published. Do not merge the whole stack before the bugfix release.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues with the Python 3.9 CI compatibility changes.

No open issues 🎉

What changed in this PR

Temporarily preserves Python 3.9 Linux CI compatibility for the 0.17.1 bugfix release, leaving removal of Python 3.9 support to the post-release PR #1081.

Changes:

  • Pins Python 3.9 Linux test and requirements-generation jobs to Ubuntu 24.04 while preserving matrix labels and other runner selections.
  • Moves lint to Python 3.12 and adds workflow-helper test execution.
  • Adds 25 regression cases covering runner selection and lint configuration.
File Description
.github/​workflows/​tests/​test_ci_runners.py Adds regression checks for conditional runners and lint setup.
.github/​workflows/​ci.yml Applies conditional Ubuntu 24.04 selection and runs workflow tests under Python 3.12 lint.

Review effort: Balanced

Use Ubuntu 24.04 only for Python 3.9 Linux test and LKG collection jobs. Run lint on Python 3.12 and add focused workflow regression checks without changing package support or dependency snapshots.

Co-authored-by: Copilot App <[email protected]>
Signed-off-by: Keith Battocchi <[email protected]>
@kbattocchi
kbattocchi force-pushed the kebatt/temporary-python39-ci branch from a80dc66 to 7013e9a Compare November 13, 2026 22:11
@kbattocchi
kbattocchi enabled stacked auto-merge (rebase) November 13, 2026 22:12
@kbattocchi
kbattocchi merged commit af3fdd6 into main Nov 14, 2026
114 checks passed
@kbattocchi
kbattocchi deleted the kebatt/temporary-python39-ci branch November 14, 2026 01:34
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