python / python/importlib_metadata
`packages_distributions` relies on setuptools implementation detail
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 142
- フォーク
- 97
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
This is a follow-up to https://github.com/python/importlib_metadata/issues/402.
packages_distributions reads top_level.txt to determine the names. This file isn't part of any PEP and to my knowledge only implemented by setuptools, as a historical artifact from eggs. This leads users to believe that build backends not supporting this function have a bug (https://github.com/astral-sh/uv/issues/16423).
Would it be possible to update the documentation to accurately reflect that this is not a problem with some PEP 660 build backends not supplying top-level names, but that this function is generally not expected to work with editable installs at all, with the historical exception of setuptools?
(This may change with PEP 794)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず packages_distributions のドキュメントと、importlib_metadata/init.py のリンクされたセクションを読んでください。通常、editable install ではトップレベル名が提供されることは想定されておらず、setuptools が歴史的な例外であることを説明するようドキュメントを更新し、同時に PEP 794 が将来及ぼす可能性のある影響についても記載してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 68/100