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
Clean up and remove toolchain transition code #14127
Comments
What is the recommendation for rules that want to continue supporting bazel 4.x? |
Bazel 5.0 has been cut and will be released shortly. If you want to delay merging these PRs until that happens and support Bazel 4.x until then, that's fine. If you want to reject this PR and continue to support Bazel 4.x, that is also fine. However, note that the |
… enabled by (#452) default in Bazel 5.0. This is a step towards removing it entirely. Part of bazelbuild/bazel#14127.
… enabled by (#5118) default in Bazel 5.0. This is a step towards removing it entirely. Part of bazelbuild/bazel#14127. Co-authored-by: Shahms King <shahms@google.com>
… enabled by default. This is a step towards removing it entirely. Part of bazelbuild/bazel#14127. PiperOrigin-RevId: 405968009
So what you're essentially saying here then is that it's not going to be possible for rules to support bazel version 4.x through 6.x in a single release of the ruleset? Given the LTS support windows for bazel 4.x and bazel 6.x overlap isn't this pushing rules authors to end support for 4.x in their rules earlier than LTS support for version 4.x runs out? I know that the LTS model only applies to bazel itself and not the rules but it does have implications on what the wider community decide to support. @alexeagle this is probably the kind of change that the core team need to communicate to the rules authors SIG as, as highlighted above, not all the repos that are affected have been caught. |
Yes and also, you shouldn't send PRs to rulesets that break their compat with LTS. |
… enabled by default. This is a step towards removing it entirely. Part of bazelbuild/bazel#14127. PiperOrigin-RevId: 406138396 Change-Id: I729a1298c5fc14386ac90bfdf8f9dff65777e23a
Valid points from everyone. I think I've jumped the gun on this change, apologies. I'm going to close out the PRs (and ask owners of the ones that merged if they want to revert), and I won't send these until later. I will also leave the This should allow rules to keep the parameter and be compatible with 4.x and 5.x. However, I do want to get this functionality removed from Bazel so that I can clean up old code and flags in the near future. |
(Note that the google-internal version of this will continue, but any rules which are vendored into google's repo can refuse the change and stay as they are). |
I guess this does raise the interesting question of what LTS support is in the context of supporting an incompatible flag being turned on for a version. One could make the case that the incompatible flag in bazel 4.x that requires this argument doesn't fall under LTS support and thus that removing this code from rules targeting 4.x is still a valid thing to do, but guess that is a wider question for discussion by the product team? |
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, I've been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127. PiperOrigin-RevId: 591912356
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, I've been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127. PiperOrigin-RevId: 591912356
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, I've been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127. PiperOrigin-RevId: 591940644
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, I've been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127.
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, I've been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127.
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, I've been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127.
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, I've been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127. PiperOrigin-RevId: 591912367
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, I've been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127. PiperOrigin-RevId: 592219242
PiperOrigin-RevId: 592244091 Change-Id: I0e4a4f2552fa0f30d41d9d84126ff06dbd6cb097
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, and @katre has been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127.
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, I've been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127.
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, and @katre has been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127.
Now that Bazel 7.0 has been released, it's time to remove this tech debt. This has been a no-op since Bazel 5.0, I've been waiting to remove the code for two years, it's time. Part of bazelbuild/bazel#14127.
Finished most of the cleanup, still waiting on bazelbuild/rules_java#163 and a few google-internal changes before I can submit the change to remove the parameter. |
from upb. Part of removing the toolchain transition entirely, bazelbuild#14127.
from upb. Part of removing the toolchain transition entirely, bazelbuild#14127.
This removes it from `rule` and `aspect`. Fixes bazelbuild#14127. PiperOrigin-RevId: 590266374 Change-Id: I3a946c2387660f4bac65c9bdb0ec92bc7bb909d9
The toolchain transition is now the default: it's time to clean up the code and remove it.
The text was updated successfully, but these errors were encountered: