bazel-contrib / bazel-contrib/rules_python

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

Đang mở
#3,916 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
help wanted type: pip
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

Mở 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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.