Include "via" information, like "pip-compile"
まだ誰も着手していません。
評価
調査の方向性
まず、requirements.txt を生成する poetry-plugin-export のパスを追跡し、その出力を pip-compile の "via" コメントと比較します。poetry.lock で依存関係がどのように表現されているかを確認し、そのうえで、エクスポートされた requirements に "via requests" や "via -r requirements.in" のような理由を示すコメントが、依存関係のバージョンを変更せずに含まれていることを検証します。
索引モデルが issue の本文から書いたものです。
説明
When pip-compile creates a requirements.txt, it will include a "via" line for each requirement: this line defines the rationale for why the requirement was included, such as "via -r requirements.in" or "via requests"
poetry has access to this information, it would be cool if it could be propagated to the exported requirements.txt file.
Example from pip-compile:
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
#
# pip-compile
#
certifi==2021.10.8
# via requests
charset-normalizer==2.0.12
# via requests
idna==3.3
# via requests
requests==2.27.1
# via -r requirements.in
urllib3==1.26.9
# via requests
This would provide two benefits:
- It could make it easier to port from
pip-compile, since generatedrequirements.txtfiles between it andpoetry-plugin-exportwould be more similar- Selfishly, I'm mostly looking for this for my
pip-compile-cross-platformproject :)
- Selfishly, I'm mostly looking for this for my
- It removes a step from debugging: the associated
poetry.lockfile doesn't have to be located and perused, as the information is all available in the onerequirements.txtfile.
- 主要言語
- Python
- スター
- 336
- フォーク
- 59
- 平均マージ
- 10分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python-poetry/poetry-plugin-export のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
Does not installオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
python-poetry/poetry-plugin-export#341 · コメント 5 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
python-poetry/poetry-plugin-export#340 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
python-poetry/poetry-plugin-export の issue をすべて見る
似ている issue
-
HandyModRTransform.deriv3 is wrong for m > 2対応中かも @SajalDevX が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
read_messages: the first read after subscribe/psubscribe returns no messages even when some are waiting対応中かも @matheussilvano が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
The-Swarm-Corporation/swarms-framework-docs#399 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bump patch
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
autowarefoundation/autoware_carla_scenario#1321 ·
メンテナーはふだん 1 日以内に返信