bazel-contrib / bazel-contrib/rules_python
Enable `pip.dep` to be used for concrete dependency management
- Dominant language
- Starlark
- Stars
- 688
- Forks
- 721
- Avg merge
- 15h 7m
- Merged PRs (30d)
- 76
Description
# 🚀 feature request
### Relevant Rules
This is an extension of the existing `pip.dep` feature: https://rules-python.readthedocs.io/en/latest/api/rules_python/python/extensions/pip.html#pip.dep.
### Description
`pip.dep` today is only used for abstract dependency management. The concrete dependencies still must come through `pip.parse` and a `requirements.txt` file.
### Describe the solution you'd like
It would be nice to be able to specify dependencies / version requirements entirely in MODULE.bazel using `pip.dep`. This is similar to how the `crate_universe` feature works in `rules_rust`.
### Describe alternatives you've considered
N/A
Contributor guide
Research direction
Start with the existing `pip.dep` documentation and compare it with the current `pip.parse` and `requirements.txt` flow in `MODULE.bazel`. Done means dependencies and version requirements can be declared entirely with `pip.dep`, with concrete dependencies resolved without a requirements file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100