bazel-contrib / bazel-contrib/rules_python

Gazelle: PEP 723 Support?

オープン
#3,025 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
gazelle type: feature request
主要言語
Starlark
スター
688
フォーク
721
平均マージ
15時間 7分
マージ済み PR(30日)
76

説明

# 🚀 feature request

### Relevant Rules

`gazelle`

### Description

With [PEP 723](https://peps.python.org/pep-0723/) approved, should we do something with that with gazelle?

### Describe the solution you'd like

Thoughts:

+ Maybe we read all files and add any PEP 723 deps to an "effective" requirements lock file?
+ Parse the PEP 723 deps and add to the `deps` attribute? How is this different from parsing `import`?
+ might be an alternative to the annotation `# gazelle:include_dep @pypi//foo` within a python file.
+ ???

### Describe alternatives you've considered

None.

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

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

調査の方向性

Start by reviewing Gazelle's current Python dependency handling, including import parsing, the deps attribute, and # gazelle:include_dep annotations, then compare that with PEP 723 dependency metadata. Done requires an agreed scope and behavior for PEP 723 support, backed by tests; the issue names no files or test entry points.

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

評価

技術スタック
python
領域
build-system
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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