-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-Rules-PythonNative rules for PythonNative rules for Pythontype: feature request
Description
Similar to #8741 and #7643, force users to load bazelbuild/rules_python in order to access the built-in Python rules. This allows us to migrate these rules from native to Starlark without necessarily forcing users to migrate every step of the way. The incompatible change flag will be --incompatible_load_python_rules_from_bzl
.
Checklist:
- Re-export or copy bundled symbols to bazelbuild/rules_python
- Fix rules_python's workflows for precompiled binaries and documentation generation
- Rename its canonical workspace to
@rules_python
- Give the Bazel source tree an internal-only mechanism for replicating rules_python's behavior without loading it
- Update all uses of Python in the Bazel source tree (possibly excluding tests and examples) to use the internal mechanism, including the third_party/ tree
- Update help and error strings in Bazel to reference
@rules_python
instead of@bazel_tools
- Add the incompatible change flag
- Add automated buildifier fixes
- Migrate bazelbuild/rules_python and google/subpar for flag flip
- Update Bazel tests for flag flip
- Flip default at head
Globegitter
Metadata
Metadata
Assignees
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-Rules-PythonNative rules for PythonNative rules for Pythontype: feature request