bazel-contrib / bazel-contrib/rules_python
Gazelle: PEP 723 Support?
- 主要语言
- Starlark
- 星标
- 688
- 派生
- 721
- 平均合并
- 15 小时 7 分钟
- 30 天内合并 PR
- 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.
贡献指南
调研方向
首先检查 Gazelle 当前对 Python 依赖项的处理方式,包括导入解析、deps 属性和 # gazelle:include_dep 注解,然后将其与 PEP 723 依赖元数据进行比较。完成此项工作需要就 PEP 723 支持的范围和行为达成一致,并由测试提供支持;issue 未指定任何文件或测试入口点。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- build-system
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100