Support Python 3.11
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- api, developer-experience
Direzione di ricerca
Inizia in smithy-lang/smithy-python e ispeziona il runtime Smithy, i metadati del generatore di codice e la copertura CI e dei test esistente. Esegui i test unitari, di protocollo, di trasporto e di streaming con Python 3.11, inclusi i percorsi aiohttp e AWS CRT; il lavoro è considerato completato quando i client generati possono essere installati e importati, i pacchetti e la documentazione dichiarano il supporto e la copertura CI ha esito positivo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 171
- Fork
- 24
- Merge medio
- 10h 47m
- PR unite (30g)
- 7
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aws/aws-sdk-python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
aws/aws-sdk-python#13 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
aws/aws-sdk-python#99 ·
-
announcement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
aws/aws-sdk-python#90 ·
-
announcement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
aws/aws-sdk-python#84 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
aws/aws-sdk-python#18 ·
Tutte le issue di aws/aws-sdk-python
Issue simili
-
documentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
simonw/sqlite-utils#872 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100