bazel-contrib/rules_python
View on GitHubEnable `pip.dep` to be used for concrete dependency management
Open
#3,916 opened on Jul 10, 2026
help wantedtype: pip
Repository metrics
- Stars
- (679 stars)
- PR merge metrics
- (PR metrics pending)
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