Support Python 3.11

オープン
#92 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

smithy-lang/smithy-python から始め、Smithy ランタイム、コードジェネレーターのメタデータ、既存の CI とテストのカバレッジを調査します。aiohttp と AWS CRT のパスを含め、Python 3.11 でユニット、プロトコル、トランスポート、ストリーミングのテストを実行します。生成されたクライアントをインストールしてインポートでき、パッケージとドキュメントがサポートを明記し、CI のカバレッジがパスすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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, and Generic
  • Use typing_extensions.override on 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
主要言語
Python
スター
171
フォーク
24
平均マージ
10時間 47分
マージ済み PR(30日)
7

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/aws-sdk-python のほかの issue

aws/aws-sdk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。