Skip to content

Remove Python 3.9 support - #1246

Merged
csmarchbanks merged 1 commit into
prometheus:masterfrom
rbizos:drop-python-3.9
Oct 30, 2026
Merged

csmarchbanks merged 1 commit into
prometheus:masterfrom
rbizos:drop-python-3.9

Conversation

@rbizos

@rbizos rbizos commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Python 3.9 reached its end of life in October 2025, and ubuntu-latest now
resolves to Ubuntu 26.04, where actions/setup-python has no Python 3.9, so
every job using 3.9 fails at setup. Same approach as #1075 for Python 3.8:
remove 3.9 from the classifiers, requires-python, tox and CI, and run the
jobs that used 3.9 (lint, optional dependencies, nooptionals, PyPy) on 3.10.

The remaining benchmark test error is unrelated and fixed by #1245.

@csmarchbanks

Python 3.9 reached its end of life in October 2025, and GitHub's
ubuntu-latest runners (Ubuntu 26.04) no longer provide it, which breaks
every CI job pinned to 3.9. Remove support and testing of Python 3.9, and
run the lint, optional-dependency, nooptionals and PyPy jobs on 3.10.

Signed-off-by: Raphael Bizos <r.bizos@criteo.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@csmarchbanks csmarchbanks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@csmarchbanks
csmarchbanks merged commit f1a0e3a into prometheus:master Oct 30, 2026
4 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants