chore: drop Python 3.11 support#963
Merged
LalatenduMohanty merged 3 commits intomainfrom Mar 18, 2026
Merged
Conversation
Make Python 3.12 the minimum supported version. Python 3.11 is in security-fix only mode upstream, and downstream (RHEL) has stopped using it. This reduces the CI test matrix and enables use of Python 3.12 features. - Remove Python 3.11 classifier from pyproject.toml and e2e plugins - Bump requires-python from >=3.11 to >=3.12 - Bump ruff target-version from py311 to py312 - Remove 3.11 from CI test matrix (unit + e2e workflows) - Update check, publish, and docs workflows to use Python 3.12 - Remove all 3.11 check-success entries from Mergify config - Update example Containerfile to default to Python 3.12 Closes: #948 Made-with: Cursor Signed-off-by: Shanmukh Pawan <smoparth@redhat.com>
d3d8bce to
6f61dee
Compare
Replace typing.TypeAlias annotations with the Python 3.12 type statement (PEP 695) in build commands and resolver modules. This was flagged by ruff UP040 after bumping target-version to py312. Co-Authored-By: Claude <claude@anthropic.com> Signed-off-by: Shanmukh Pawan <smoparth@redhat.com>
6f61dee to
5ce3ec4
Compare
- docs/quickstart.rst: bump prerequisite from 3.11 to 3.12 - CONTRIBUTING.md: bump prerequisite from 3.11 to 3.12 - docs/example/Containerfile: update comment from python-311 to python-312 Made-with: Cursor Signed-off-by: Shanmukh Pawan <smoparth@redhat.com>
LalatenduMohanty
approved these changes
Mar 18, 2026
Member
|
Thanks @smoparth . |
Collaborator
|
Excellent! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make Python 3.12 the minimum supported version. Python 3.11 is in security-fix only mode upstream, and downstream (RHEL) has stopped using it. This reduces the CI test matrix and enables use of Python 3.12 features.
Closes: #948