bazel-contrib/rules_python

Enable `pip.dep` to be used for concrete dependency management

Open

#3916 aperta il 10 lug 2026

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Starlark (705 fork)auto 404
help wantedtype: pip

Metriche repository

Star
 (679 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

🚀 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

Guida contributor