-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Build fails on Bazel 8.0.0rc3 #82
Comments
I can confirm that this does not happen on 8.0.0rc2. |
Just relying a comment from chowder@ about possible cause:
|
I believe version checks are wrong in bazel_features:
Checks for workspace mode seem fine, but it doesn't hurt to double check:
|
Relevant discussion: #80 (comment) |
Over at #80 (comment), I still thought that "bazel_features is the one project to use exact version matching", but as this issue demonstrates that's just too much of a footgun. I'll send a PR to drop the rc suffix from comparisons in the same way as |
- Replace Bazel 6.5.0 with Bazel 8.0.0rc2. [A bazel_features error](bazel-contrib/bazel_features#82) prevents us from upgrading to 8.0.0rc3. - Remove the Bazel lock files. We test with different versions of Bazel. They are not really relevant for our tests/examples.
Addressing bazel-contrib/bazel_features#82 PiperOrigin-RevId: 699970013 Change-Id: Ia9b6952c4836437b4f74e4e498c5d5839185c496
Addressing bazel-contrib/bazel_features#82 PiperOrigin-RevId: 699970013 Change-Id: Ia9b6952c4836437b4f74e4e498c5d5839185c496
FYI for those subscribed: bazel_features 1.21.0 is released with a fix for this |
bazel_features has a bug where it doesn't detect Bazel 8 rc3 correctly. This is fixed in release 1.21.0. From the discussion on bazel-contrib/bazel_features#82, it's likely this only occurs due to the "rc" notation of the Bazel release, so an earlier bazel_features version will probably work fine once Bazel 8 is no longer rc.
8.0.0rc4 actually bumps the bazel_features by default, see bazelbuild/bazel@11596c3#diff-2bd581915487f6ba07e5ce4940d6c64969ffeb336664fb816189665631b7d018R15, so you probably don't have to do it manually. |
Build fails with an error when using 8.0.0rc3:
The text was updated successfully, but these errors were encountered: