Potential improvement for editable installs
まだ誰も着手していません。
評価
調査の方向性
pip-api's pip_api/_parse_requirements.py の248行目付近から始め、egg フラグメントが存在しない場合に pip-requirements-parser が EditableRequirement をどのように表現しているかを確認してください。ディレクトリベースの editable install が req を None のままにせず、setup.py からパッケージ名とバージョンを取得することを完了条件とし、そのケースをカバーするテストを追加してください。
索引モデルが issue の本文から書いたものです。
説明
I noticed another small difference between pip-api and pip-requirements-parser which I'd like to bring up.
At the moment, pip-requirements-parser relies on an egg fragment being at the end of an editable install in order to infer its name/specifier. Otherwise, the EditableRequirement's req member is set to None.
pip-api has some special logic that checks whether the editable installation points to a directory. If so, it checks that directory for a setup.py and attempts to parse the package name and version out of the file. You can find the relevant logic here.
How do you feel about having this logic in pip-requirements-parser? I appreciate that this logic perhaps goes a bit beyond "parsing" but it'd be useful since not all editable requirements have an egg fragment.
- 主要言語
- Python
- スター
- 20
- フォーク
- 17
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aboutcode-org/pip-requirements-parser のほかの issue
-
Quadratic comment split on a requirements file line (pip_requirements_parser.py:1058)再び着手できるかも @Anurag-S1ngh が 25 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aboutcode-org/pip-requirements-parser#30 · コメント 1 件 ·
-
Support PEP 561 Distributing and Packaging Type Information (py.typed marker)再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 60/100
-
Tests failures with packaging 26.0対応中かも @s-t-e-v-e-n-k が 290 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
Doesn't support local paths to wheels再び着手できるかも @Anurag-S1ngh が 18 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
aboutcode-org/pip-requirements-parser#26 · コメント 3 件 ·
-
[BUG] VCS URLs are detected as path on linux systems再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
aboutcode-org/pip-requirements-parser の issue をすべて見る
似ている issue
-
author-page correction move-papers
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
acl-org/acl-anthology#10978 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
PostgreSQL results table stores labels with single quotes, and a double quote in a label fails the write対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
GoogleCloudPlatform/professional-services-data-validator#1899 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
HKUDS/CLI-Anything#652 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Project-N-E-K-O/N.E.K.O#3813 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Dao-AILab/flash-attention#3191 ·
メンテナーはふだん 4 日以内に返信