-
Notifications
You must be signed in to change notification settings - Fork 4.4k
[9.1.0] Update MODULE.bazel and .bazelversion for 9.1.0 #28375
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
Conversation
Fixes downstream: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/5132#019b0675-1eeb-4643-981b-aa60e6c69774 PiperOrigin-RevId: 842627250 Change-Id: Iec3660d2849bebe0d8a314392a01126421d0e873
Closes #28014. PiperOrigin-RevId: 845680411 Change-Id: I4454ed2731b24ec051ee633460e8bb120fb07d04
PiperOrigin-RevId: 838699215 Change-Id: I7f9720f759e2ca02ff09566648972f38798307a0
- Some copybara improvements - Fixes #28271 PiperOrigin-RevId: 855674250 Change-Id: I238ff6a4888e7b78b45fdbe0a9c72671fcfd18ca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request updates the module version to 9.1.0 and adjusts dependencies accordingly, including updating rules_java and adding onetbb. The changes are mostly consistent with a version bump. However, there is a critical inconsistency in the .bazelversion file, which has been updated to 9.0.0 instead of 9.1.0 as suggested by the pull request title. This should be corrected to ensure the correct Bazel version is used for builds.
| @@ -1 +1 @@ | |||
| 8.4.2 No newline at end of file | |||
| 9.0.0 No newline at end of file | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a version mismatch. The pull request title, [9.1.0] Update MODULE.bazel and .bazelversion for 9.1.0, indicates that the Bazel version should be 9.1.0. However, the version in this file is set to 9.0.0. This discrepancy could lead to using an incorrect Bazel version, potentially causing build issues. Please align the version with the one specified in the PR title.
9.1.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is intentional. We use Bazel 9.0.0 to build the code on the release-9.1.0 branch. Bazel 9.1.0 is not released yet.
We need to set this flag with the flip of --incompatible_strict_action_env in Bazel 9 Fixes https://buildkite.com/bazel/bazel-bazel-github-presubmit/builds/31307#019bbc0d-7e31-4ce0-8289-73d9da2e4eb0 PiperOrigin-RevId: 856202564 Change-Id: If3273976dc2ffd20e73e5767260ddce88d27bd7d
Along with cherry-picks to fix the build: