Skip to content
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

Upgrade bazel version to 4.2.1 #18996

Merged
merged 1 commit into from
Sep 30, 2021
Merged

Conversation

gjoliver
Copy link
Member

Also while debugging this, I realized that we can directly ask "bazel aquery ..." to
output in --jsonproto format, so we don't have to do the complicated textproto to
json conversion in bazel.py.

Why are these changes needed?

Bazel 4.2.1 is required for supporting M1 build.

Related issue number

#16621

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • [*] Unit tests
    • [*] Release tests
    • This PR is not tested :(

Also update ci/travis/bazel.py to output "bazel aquery ..." result
in --jsonproto format, so we don't have to do the complicated
textproto to json conversion.
@gjoliver
Copy link
Member Author

oh, all tests pass, including the msvs one!! :)

@richardliaw richardliaw merged commit e61f2c7 into ray-project:master Sep 30, 2021
@gjoliver gjoliver deleted the bazel-4-2-1 branch September 30, 2021 23:37
jjyao pushed a commit that referenced this pull request Oct 1, 2021
simon-mo pushed a commit that referenced this pull request Oct 20, 2021
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.

3 participants