-
Notifications
You must be signed in to change notification settings - Fork 547
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
[Bazel CI] Error no native function or rules 'sh_test' #2299
Comments
FYI, the tests are failing with
At least for older |
If the plan is for it to require a minimum bazel version, then let us know so we can try and apply appropriate workarounds, if necessary (IMHO: this is a detail rules_shell should take care of). Also, is there a tracking bug for the migration? It would just be handy to have if we need to refer to it or report bugs we find. |
rules_shell 0.2.0 already automatically fallback to native rules if available, see bazelbuild/rules_shell#10 I think the correct way is to load rules_shell everywhere like protobuf did: protocolbuffers/protobuf@8ec13ed |
Summary: - move bazelversion sh_test to //tests - add rules_shell dev dependency - use sh_test for the sh_py_run_test - use rules_shell in examples/bzlmod - use rules_shell in multi_python_versions example Fixes #2299.
Rules_python CI is still failing https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4208#01929dce-7b67-4627-896b-5289323e35b1 CC @rickeylev . Can you please take a look. Thanks! |
That failure appears to be from a dependency: rules_bazel_integration_test (https://github.com/bazel-contrib/rules_bazel_integration_test)
It'll require a fix in that project. |
CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4198#01928938-25f1-42af-ad77-b740b840f290
Platform: MacOS
Logs:
Culprit:
Steps:
CC Greenteam @meteorcloudy
The text was updated successfully, but these errors were encountered: