Repository navigation
TPT-4765: Raise minimum supported Python to 3.11 - #757
Open
zliang-akamai wants to merge 2 commits into
Open
zliang-akamai wants to merge 2 commits into
zliang-akamai wants to merge 2 commits into
Conversation
zliang-akamai
requested review from
jriddle-linode and
psnoch-akamai
and
a balanced review from Copilot
and removed request for
a team
November 11, 2026 01:32
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the Python 3.11 minimum-version update and related tooling changes.
No open issues 🎉
What changed in this PR
Raises the Linode SDK’s minimum supported Python version to 3.11, intentionally dropping Python 3.10 support and updating development tooling and CI.
Changes:
- Aligns package classifiers, CI coverage, and Black targets with Python 3.11–3.15.
- Removes the standalone E2E workflow’s EOL selector and moves release cross-repository tests to Python 3.13.
- Removes Python 2 compatibility code and obsolete comments while preserving Python 3 behavior.
| File | Description |
|---|---|
pyproject.toml |
Raises the Python minimum and updates classifiers, Black dependency, and formatting targets. |
linode_api4/objects/serializable.py |
Removes the obsolete StrEnum replacement note; implementation remains unchanged. |
linode_api4/objects/linode.py |
Removes Python 2 conversion logic from password generation. |
linode_api4/objects/account.py |
Removes a Python 2-specific comment. |
linode_api4/login_client.py |
Uses Python 3 URL imports without fallback imports. |
linode_api4/groups/linode.py |
Removes an obsolete Python 2 workaround comment. |
AGENTS.md |
Documents Python 3.11 as the minimum version. |
.github/workflows/release-cross-repo-test.yml |
Moves the test runtime to Python 3.13. |
.github/workflows/e2e-test.yml |
Removes EOL selection while retaining the Python 3.13 default. |
.github/workflows/ci.yml |
Updates the Python test matrix to 3.11–3.15. |
Review effort: Balanced
This branch has not been deployed
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.
📝 Description
Raise the SDK minimum to Python 3.11, remove the 3.10 classifier, and align CI and Black targets through Python 3.15. The standalone E2E workflow defaults to Python 3.13 and removes its EOL selector; the release cross-repo test runtime is also moved to 3.13. Remove Python 2-only fallback code while preserving the Python 3 behavior. This intentionally drops Python 3.10 support.
✔️ How to Test
pytest test/unit/: 517 tests passed on Python 3.11 and 3.15. The changed SDK files pass Black 26.10.1.