bazel-contrib / bazel-contrib/rules_python
Gazelle: PEP 723 Support?
- Lenguaje dominante
- Starlark
- Estrellas
- 688
- Forks
- 721
- Merge medio
- 15 h 7 min
- PR fusionados (30 d)
- 76
Descripción
# 🚀 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.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- build-system
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100