bazel-contrib / bazel-contrib/rules_python
Enable `pip.dep` to be used for concrete dependency management
- Ngôn ngữ chính
- Starlark
- Star
- 688
- Fork
- 721
- Merge trung bình
- 15 giờ 7 phút
- Pull request đã merge (30 ngày)
- 76
Mô tả
# 🚀 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
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- build-system
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100