-
Notifications
You must be signed in to change notification settings - Fork 440
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
Migrate from @bazel_tools//platforms to https://github.com/bazelbuild/platforms #1873
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1873 +/- ##
==========================================
- Coverage 85.79% 85.71% -0.07%
==========================================
Files 171 171
Lines 5241 5241
==========================================
- Hits 4496 4492 -4
- Misses 745 749 +4
|
Could this break some older version of bazel? |
I don't know for sure, but I do know that it continues to build successfully with the Bazel version specified in |
Let me know if there's any actions I can take to address concerns about Bazel backwards compatibility. For what its worth, the |
I don’t see any issue if this migration enable supporting bazel v6.0.0, is also working with v4.2.0. As of now we haven’t documented minimal supported bazel version - perhaps we can start doing that once we bump up bazel version to 6.0.0. Also not related to this PR, but we need to think about continuing g++4.8 support, as that support is restricted with lower version of gRPC and bazel. Approving this, but need one more approval to merge, and may have to wait a bit during holiday season :). Thanks for the PR. |
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.
LGTM
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.
It seems also need upgrade gtest to 1.11.0 or upper and upgrade gRPC to 1.49.0 or upper.
Or the dependencies still use @bazel_tools//platforms
, which can not compile with latest bazel.
Oh didn't realize that. Thanks for pointing out. Is it better to upgrade gRPC now, or once we bump the bazel version? |
Thanks @owent, I've upgraded gtest to 1.12.1 and gRPC to 1.49.2. Let me know if there's any other actions I should take. |
CMake is still using older versions of these libraries, and also third_part_releases file should have these updated versions. |
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.
LGTM now.And the gRPC version in ci/setup_grpc.sh and ci/do_ci.sh can also be updated.
Thanks. I believe now I've updated the versions throughout. |
Changes
This MR migrates platforms constraints from the deprecated
@bazel_tools//platforms
target to instead depend on thehttps://github.com/bazelbuild/platforms
repository, per bazelbuild/bazel#8622This enables compatibility with the newly released Bazel 6.0.0.