bazel-contrib / bazel-contrib/rules_python
Gazelle: PEP 723 Support?
Open
gazelle
type: feature request
- Dominant language
- Starlark
- Stars
- 688
- Forks
- 721
- Avg merge
- 14h 49m
- Merged PRs (30d)
- 81
Description
# 🚀 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.
Contributor guide
Assessment
This issue has not been assessed yet.