-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Incompatible: Remove legacy allowlist names #19493
Comments
cc @fmeum |
…g Bazel versions (#1410) This makes rules_python's usage of Go work with upcoming Bazel versions. The `_whitelist_function_transition` attribute in the Go rules is being removed, per bazelbuild/bazel#19493. Newer Go rule releases are compatible with the upcoming Bazel versions. Fixes : [1409](#1409)
One month has passed, without maintainers upgrading rules_go. So I believe we can roll forward the change again. |
NEW: Maintainers of the repos had 1 month to upgrade version of rules Go bazelbuild#19493 NEW: syncing against code changes PiperOrigin-RevId: 573099651 Change-Id: I517e45a83989bfa24f6487ef6d89d60aeb31e4d3
@comius Would you be supportive of a change to remove the allowlist attribute requirement for Bazel, for example via a flag that is unflipped within Google via a |
Actually I was thinking to change the implementation so that attribute is automatically added when there’s a transition. The only problem is that I’d need it to either always point to @bazel_tools (simple) or add a flag to configure where it should point. |
Cc @gregestren |
If users do want to point it to a non-standard location, could they still explicitly add the attribute? If that is the case, then having it always point into |
NEW: Maintainers of the repos had 1 month to upgrade version of rules Go #19493 NEW: rebasing the code after 1 month NEW: Downstream test: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3381 PiperOrigin-RevId: 573199364 Change-Id: I517e45a83989bfa24f6487ef6d89d60aeb31e4d3
I support removing the requirement from Bazel, whatever the implementation (both sound fine to me). |
Ack. Working on the implementation. |
If the allowlist is already present its value is respected (The package paths and label name are fixed/checked. Only repository name can be changed). Automatically add allowlist with tools repository as defined by rule definition environment. This fixes the incompatibility introduced in: #19493 (because whilelist is ignored and default allowlist is added) PiperOrigin-RevId: 574226941 Change-Id: If90f78a610d7bd3c107dcd94a39902c7c939aa7b
@bazel-io flag |
@iancha1992 Could bb7fb2d be marked for cherry-picking to 7.0.0? |
@bazel-io fork 7.0.0 |
If the allowlist is already present its value is respected (The package paths and label name are fixed/checked. Only repository name can be changed). Automatically add allowlist with tools repository as defined by rule definition environment. This fixes the incompatibility introduced in: bazelbuild#19493 (because whilelist is ignored and default allowlist is added) PiperOrigin-RevId: 574226941 Change-Id: If90f78a610d7bd3c107dcd94a39902c7c939aa7b
…19855) If the allowlist is already present its value is respected (The package paths and label name are fixed/checked. Only repository name can be changed). Automatically add allowlist with tools repository as defined by rule definition environment. This fixes the incompatibility introduced in: #19493 (because whilelist is ignored and default allowlist is added) Commit bb7fb2d PiperOrigin-RevId: 574226941 Change-Id: If90f78a610d7bd3c107dcd94a39902c7c939aa7b Co-authored-by: Googler <[email protected]>
If the allowlist is already present its value is respected (The package paths and label name are fixed/checked. Only repository name can be changed). Automatically add allowlist with tools repository as defined by rule definition environment. This fixes the incompatibility introduced in: #19493 (because whilelist is ignored and default allowlist is added) PiperOrigin-RevId: 574226941 Change-Id: If90f78a610d7bd3c107dcd94a39902c7c939aa7b
The change removes legacy
_whitelist_function_transition
.First merged and rolled back:
10a46b1
The naming is in use in old rules_go, which several projects haven't upgraded.
The text was updated successfully, but these errors were encountered: