-
Notifications
You must be signed in to change notification settings - Fork 555
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
rules_python is broken with Bazel@HEAD #1185
Comments
Reproducing this requires the host to be a mac. What's happening is...
The error is a bit confusing because it also reveals a bug in rules_testing -- the missing not_contains method. That code path is only being taken, though, because the test is seeing the unexpected value, so it tries to assert on its contents. #1183 is out to fix. |
A bisect points to bazelbuild/bazel@1895585 BTW, I'm adding bisect feature to Bazelisk, which should help identifying Bazel breaking changes much easier: bazelbuild/bazelisk#451 |
My guess as to why enabling the Starlark impl caused this is the Starlark impl uses platforms, while the Java one uses the --cpu string. Since platforms are the intended way to identify the platform over --cpu, I'll document this as a behavior change in bazelbuild/bazel#15897 |
…execution (#1183) This is the inverse test of the one testing for the mac platform. As before, the line forcing the platform to a non-mac platform was commented out, which meant, when a mac host built it, it would build the underlying target for Mac, which violated the test's assumptions. Work towards bazelbuild/bazel/issues/18170 Fixes #1185
https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2984#0187c5a7-8c82-4bf4-8edc-bc61496edab0
Platform : macOS
Logs:
Reference : bazelbuild/bazel#18170
Unable to reproduce in local setup.
CC @meteorcloudy, @rickeylev
The text was updated successfully, but these errors were encountered: