-
-
Notifications
You must be signed in to change notification settings - Fork 636
fix: fix errors with bazel@head #2332
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
fix: fix errors with bazel@head #2332
Conversation
This is so that the test works with Bazel@head
Although, looking at the CI it seems that it is still unhappy. |
Heh, yeah, that required a few more fixes. All the integration tests needed rules_cc added, which then needed protobuf added. Then some allow_empty=True fixes in the local toolchain test. |
http_archive( | ||
name = "protobuf", | ||
sha256 = "da288bf1daa6c04d03a9051781caa52aceb9163586bff9aa6cfb12f69b9395aa", | ||
strip_prefix = "protobuf-27.0", | ||
url = "https://github.com/protocolbuffers/protobuf/releases/download/v27.0/protobuf-27.0.tar.gz", | ||
) | ||
|
||
http_archive( | ||
name = "rules_cc", | ||
sha256 = "d9bdd3ec66b6871456ec9c965809f43a0901e692d754885e89293807762d3d80", | ||
strip_prefix = "rules_cc-0.0.13", | ||
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.13/rules_cc-0.0.13.tar.gz"], | ||
) |
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.
@rickeylev, I think this means that the py_repositories
function adding these deps needs to be updated. This looks like the wrong thing to do if we want to keep supporting bazel@HEAD
with a released rules_python
version?
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.
Good point. Something felt off updating so many workspace files for tests. I've started #2335 to update py_repositories.
Fix various errors with upcoming Bazel versions
allow_empty=True
in local toolchains setupFixes #2310