bazel-contrib/rules_python

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

Open

#3,916 建立於 2026年7月10日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Starlark (705 fork)auto 404
help wantedtype: pip

倉庫指標

Star
 (679 star)
PR 合併指標
 (PR 指標待抓取)

描述

🚀 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

貢獻者指南