bazel-contrib / bazel-contrib/rules_python
Allow using environment variables to set basic defaults for repos
- 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ả
While looking at the JAX project, a somewhat convenient feature they have is setting an environment variable to override the URL and sha that is used.
This does seem like a pretty convenient and low-overhead way to quickly switch up the URL used if you're playing around with the toolchain. Much easier than figuring out the `python.single_version_platform_override()` apis. As an example, it would have made it easier to test the new python-build-standalone builds that changes the linking of tk/tcl libs.
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the python.single_version_platform_override() APIs and the JAX behavior described in the issue. Determine how environment variables should override the repository URL and sha, including their names and precedence; done means users can switch those defaults without using the APIs.
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 45/100