bazel-contrib / bazel-contrib/rules_python

Allow using environment variables to set basic defaults for repos

オープン
#3,198 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
core-rules type: feature request type: toolchain
主要言語
Starlark
スター
688
フォーク
721
平均マージ
15時間 7分
マージ済み PR(30日)
76

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
build-system
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。