Skip to content

Add support and compatibility with Bazel 8+#258

Open
cerisier wants to merge 3 commits into
google-ml-infra:mainfrom
cerisier:bazel-9-support
Open

Add support and compatibility with Bazel 8+#258
cerisier wants to merge 3 commits into
google-ml-infra:mainfrom
cerisier:bazel-9-support

Conversation

@cerisier
Copy link
Copy Markdown
Contributor

@cerisier cerisier commented May 11, 2026

This PR was done as part of consuming rules_ml_toolchain from a Bazel 9 workspace.

It mostly consists of missing loads and allow_empty statements.

The real important part is that protobuf was bumped to 33.0 (smallest version compatible with bazel 7, 8 and 9).
Futher versions break because Bazel 7 fails on newer ProtoInfo args.
If this is an issue downstream, I can drop that part and let users carry appropriate patches.

I forced materialized all repos with USE_BAZEL_VERSION 7 8 and 9 for validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant