bazel-contrib / bazel-contrib/rules_python

Allow using environment variables to set basic defaults for repos

Open
#3,198 0 comments 0 reactions 0 assignees View on GitHub
core-rules type: feature request type: toolchain
Dominant language
Starlark
Stars
688
Forks
721
Avg merge
14h 49m
Merged PRs (30d)
81

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.