Repository navigation
Add Python 3.11 support - #954
Open
jonathan343 wants to merge 3 commits into
Open
jonathan343 wants to merge 3 commits into
jonathan343 wants to merge 3 commits into
Conversation
jonathan343
marked this pull request as ready for review
November 17, 2026 06:34
stobrien89
previously approved these changes
Nov 17, 2026
stobrien89
left a comment
Contributor
There was a problem hiding this comment.
Nothing blocking except the PR build failure
jonathan343
force-pushed
the
feat/python311
branch
from
November 21, 2026 05:11
8b7340a to
c5a253f
Compare
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.
Summary
Python 3.11 receives upstream security updates until October 2027. This adds Python 3.11 support to the runtime packages and both code generators, lowering the minimum version from 3.12.
The typing conversion needs more than a syntax rewrite. Explicit
TypeVarvariance avoids rejecting valid customer assignments, and named recursive aliases keepget_type_hints()working when customers import aliases under different names. Package metadata, native extension builds, generated snapshots, and CI are updated for the new minimum version.This implements the Smithy side of aws/aws-sdk-python#92. SDK adoption and package publication remain separate.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.