Skip to content

fix: enable auto exec groups using attribute #1986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ A brief description of the categories of changes:

### Fixed
* (bzlmod): Targets in `all_requirements` now use the same form as targets returned by the `requirement` macro.
* (rules) Auto exec groups are enabled. This allows actions run by the rules,
such as precompiling, to pick an execution platform separately from what
other toolchains support.

### Removed
* Nothing yet
Expand Down
3 changes: 3 additions & 0 deletions python/private/common/attributes.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,9 @@ in the resulting output or not. Valid values are:
default = "//python/config_settings:precompile_source_retention",
providers = [BuildSettingInfo],
),
# Force enabling auto exec groups, see
# https://bazel.build/extending/auto-exec-groups#how-enable-particular-rule
"_use_auto_exec_groups": attr.bool(default = True),
},
allow_none = True,
)
Expand Down