Add support for Bazel 9.x#134
Merged
Merged
Conversation
Bazel 9 removed the `CcInfo` symbol, which broke `rules_buf` on Bazel 9+ via the transitive dependency on `rules_go`. Bumps the two affected direct deps to the earliest releases that contain the fixes (rules_go 0.59.0, gazelle 0.40.0) and extends CI to cover 9.x. The gazelle update bump picks up bazel-contrib/bazel-gazelle#1321, so the affected `gazelle/buf/testdata/**/BUILD.out` fixtures are updated. Fixes #132.
pkwarren
commented
Apr 27, 2026
| @@ -1,5 +1,5 @@ | |||
| { | |||
| "lockFileVersion": 18, | |||
| "lockFileVersion": 11, | |||
Member
Author
There was a problem hiding this comment.
Updated all of these lock files to rebuild against Bazel 7.2.0 (declared in .bazelversion).
We probably need to fold this into a make tidy or make format command for consistency. Each time you run a build with a later version of Bazel, it rewrites these. For example, Bazel 9.1.0 writes lockFileVersion: 26.
stefanvanburen
approved these changes
Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bazel 9 removed the
CcInfosymbol, which brokerules_bufon Bazel 9+ via the transitive dependency onrules_go. Bumps the two affected direct deps to the earliest releases that contain the fixes (rules_go 0.59.0, gazelle 0.40.0) and extends CI to cover 9.x.The gazelle update bump picks up bazel-contrib/bazel-gazelle#1321, so the affected
gazelle/buf/testdata/**/BUILD.outfixtures are updated.Fixes #132.