bazel-contrib / bazel-contrib/rules_python

Make script bootstrap the default

オープン
#2,521 コメント 2 件 リアクション 0 件 担当者 1 名 @rickeylev が担当を希望しています GitHub で見る
core-rules P1 type: toolchain
主要言語
Starlark
スター
688
フォーク
721
平均マージ
15時間 7分
マージ済み PR(30日)
76

説明

This is a general tracking issue for making the default bootstrap method the "script" implementatation (i.e. `--bootstrap_impl=script`).

The current default is "system_python", which has the problem that it relies on the system having some Python already installed and available via shebang in order to run a py_binary (which often has its own interpreter).

TODO

* [x] Make rules_pkg support raw symlinks https://github.com/bazelbuild/rules_pkg/pull/930
* [x] Make CI happy when its the default
* [ ] Make it the default for linux/mac
* This is blocked by: Bazel 8+ is required for rules_pkg to package a py_binary when build-time relative symlinks are enabled (`--venvs_use_declare_symlink=yes`, the default).
* [ ] Provide a windows equivalent

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

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

評価

この issue はまだ評価されていません。

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

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