bazel: Update to v9#30341
Merged
StephanDollberg merged 3 commits intodevfrom Apr 30, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the repository’s Bazel toolchain/configuration to Bazel v9 and aligns module dependencies and build settings to accommodate Bazel 9 behavior changes.
Changes:
- Bump Bazel to 9.0.0 and add Bazel 9 compatibility flags in
.bazelrc. - Update several Bzlmod dependencies and apply a zlib override/patch to expose unprefixed public headers.
- Adjust the Iceberg REST catalog jar genrule to set a JDK/
JAVA_HOMEbefore invoking Gradle.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
tests/java/iceberg-rest-catalog/BUILD |
Sets JAVA_HOME/PATH for the Gradle genrule that builds the test jar. |
bazel/thirdparty/zlib-public-unprefixed-headers.patch |
Patches zlib’s BUILD to include unprefixed headers in hdrs. |
MODULE.bazel |
Bumps module versions and adds a single_version_override to apply the zlib patch. |
.bazelversion |
Updates Bazel version to 9.0.0. |
.bazelrc |
Enables remote repo contents caching and adds Bazel 9-related build compatibility options. |
travisdowns
reviewed
Apr 29, 2026
dotnwat
reviewed
Apr 29, 2026
11a3fb1 to
5144cda
Compare
Collaborator
CI test resultstest results on build#83881
|
Hopefully this will allow us to cache github repositories and avoid github flakiness.
5144cda to
aa11945
Compare
travisdowns
approved these changes
Apr 30, 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.
Backports Required
Release Notes