Skip to content

Add Python 3.11 support - #954

Open
jonathan343 wants to merge 3 commits into
developfrom
feat/python311
Open

jonathan343 wants to merge 3 commits into
developfrom
feat/python311

Conversation

@jonathan343

Copy link
Copy Markdown
Contributor

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 TypeVar variance avoids rejecting valid customer assignments, and named recursive aliases keep get_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.

@jonathan343
jonathan343 marked this pull request as ready for review November 17, 2026 06:34
@jonathan343
jonathan343 requested a review from a team as a code owner November 17, 2026 06:34
stobrien89
stobrien89 previously approved these changes Nov 17, 2026

@stobrien89 stobrien89 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nothing blocking except the PR build failure

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.

2 participants