-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
breaking-change-9.0Incompatible flags to be flipped in Bazel 9.0Incompatible flags to be flipped in Bazel 9.0incompatible-changeIncompatible/breaking changeIncompatible/breaking changeteam-Configurabilityplatforms, toolchains, cquery, select(), config transitionsplatforms, toolchains, cquery, select(), config transitions
Milestone
Description
Motivation
Part of Starlarkify native Bazel flags: move language flags out of Bazel and into the rule's .bzl definitions. This gives rules owners more ownership over their logic.
This Starlarkifies https://github.com/bazel-contrib/rules_python flags.
This removes ctx.fragments.bazel_py. See #27079 for similar flag for ctx.fragments.py.
Description
When flipped, ctx.fragments.bazel_py no longer exists. A new rules_python release uses that as signal to read its flags from Starlark definitions in the rules_python repo.
See #27079 for incompatibility details.
Incompatible Flag
--incompatible_remove_ctx_bazel_py_fragment
Migration Guide
See #27079.
In which Bazel LTS version will this incompatible change be enabled?
Bazel 9
TODO List
- Prepare
rules_pythonrelease that supports Starlark flags - Flip flag
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breaking-change-9.0Incompatible flags to be flipped in Bazel 9.0Incompatible flags to be flipped in Bazel 9.0incompatible-changeIncompatible/breaking changeIncompatible/breaking changeteam-Configurabilityplatforms, toolchains, cquery, select(), config transitionsplatforms, toolchains, cquery, select(), config transitions