Skip to content

Make script bootstrap the default #2521

@rickeylev

Description

@rickeylev

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

  • Make rules_pkg support raw symlinks feat: support raw symlinks from declare_symlink() bazelbuild/rules_pkg#930
  • 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

Sub-issues

Metadata

Metadata

Assignees

Labels

P1core-rulesIssues concerning core bin/test/lib rulestype: toolchainRelated to the toolchains provided by rules_python

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions