Support Python 3.11
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- api, developer-experience
Research direction
Start in smithy-lang/smithy-python and inspect the Smithy runtime, code-generator metadata, and existing CI and test coverage. Run the unit, protocol, transport, and streaming tests with Python 3.11, including aiohttp and AWS CRT paths; done means generated clients install and import, packages and documentation declare support, and the CI coverage passes.
Written by the indexing model from the issue text.
Description
Request
The AWS SDK for Python currently requires Python 3.12 or newer. This issue tracks adding support for Python 3.11, which remains supported upstream until October 2027. It follows the version-support discussion in #8. Python 3.10 is outside this issue's scope.
Our initial review indicates that Python 3.11 support is feasible, but we have not committed to a release or timeline. If this affects you, please add a thumbs-up reaction. Comments describing blocked use cases or deployment environments will help us understand the impact.
Required Changes
Generated service-client code already appears compatible with Python 3.11. Most changes are needed in the Smithy runtime:
- Replace Python 3.12-only PEP 695 syntax with
TypeAlias,TypeVar, andGeneric - Use
typing_extensions.overrideon Python 3.11 - Update runtime and code-generator metadata
- Add Python 3.11 CI and test coverage
- Regenerate affected clients
- Test aiohttp, AWS CRT, and streaming operations
- Update SDK documentation and classifiers
The third-party transport and JSON parser dependencies we reviewed already support Python 3.11.
Most implementation work will take place in smithy-lang/smithy-python. This issue will track the SDK release and provide a place to follow progress.
Completion Criteria
- Generated clients install and import on Python 3.11
- Unit, protocol, transport, and streaming tests pass
- Published packages declare Python 3.11 support
- Documentation and CI include Python 3.11
- Dominant language
- Python
- Stars
- 171
- Forks
- 24
- Avg merge
- 10h 47m
- Merged PRs (30d)
- 7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aws/aws-sdk-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
aws/aws-sdk-python#13 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
aws/aws-sdk-python#99 ·
-
announcement
Difficulty 5/5 Over a week Newbie friendliness 25/100
aws/aws-sdk-python#90 ·
-
announcement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
aws/aws-sdk-python#84 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
aws/aws-sdk-python#18 ·
All issues in aws/aws-sdk-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100