-
Notifications
You must be signed in to change notification settings - Fork 343
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
Migrate existing modules to the new toolchain registration API #127
Comments
Is there some min,max version of Bazel where both ways are supported, to allow the transition? |
The support for the old API isn't deleted at HEAD yet (the BCR presubmit uses Bazel@HEAD), but we'll probably delete them before 6.0 cut. Since Bzlmod is still under an experimental flag, I think that should be enough? @Wyverald Do you think we need to cherry-pick recent Bzlmod changes into 5.3? |
Some are cherry-pickable (like this one) but the flag parsing ones are probably harder. Hopefully people have been testing Bzlmod-related stuff with rolling releases (maybe we should've been clearer about that) |
We've been testing across Bazel stable releases after 5.0.0. This just broke our CI when testing against anything other than 5.3.0. It's not a problem, we'll just drop support for 5.2.0 and below but certainly confused us for 15 minutes why the API didn't suddenly exist. Looking forward to |
To be clear, we haven't removed the old API from HEAD yet. @meteorcloudy's change merely migrated existing modules to use the new API, which is what broke you since the new API wasn't available before. (But now that that's done, I can remove the old API) Sorry about the inconvenience! |
@mattyclarkson Sorry for the confusing. |
See bazelbuild/bazel#15829
This:
should become this:
The text was updated successfully, but these errors were encountered: