Stubs that require a version of python higher than the minimum supported by typeshed
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 5.1k
- フォーク
- 2.1k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 82
説明
In #10721, the seaborn stubs depend on matplotlib that only included a py.typed marker file in version 3.8.
matplotlib version 3.8 requires python >=3.9 which leads to the mypy tests failing on python 3.8.
Alex Waygood suggests adding a requires-python field to METADATA.toml and teaching stub-uploader to include it in the generated setup.py https://github.com/python/typeshed/pull/10721#issuecomment-1722454399.
Please let us know what you think about this idea or if you have another solution.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず METADATA.toml、stub-uploader、および issue に記載された生成される setup.py のパスを確認し、その後、seaborn と matplotlib の依存関係が原因で Python 3.8 で発生する mypy テストの失敗を再現します。提案されている requires-python のメタデータフローを、既存のパッケージ生成動作と比較します。対応する Python の要件が生成されたパッケージに表現され、このケースで Python 3.8 のテストが失敗しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- build-system, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100