bazelbuild / bazelbuild/bazelisk

[Bazel CI] BazelDependency Error: rules_shell version mismatch

Open
#723 0 comments 0 reactions 1 assignee Claimed by @meteorcloudy View on GitHub
Dominant language
Go
Stars
2.7k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4936#019936f6-1538-4a5f-b3c4-10e817a1cb9f

Platform: Ubuntu, MacOs

Logs:
```
ERROR: For repository 'rules_shell', the root module requires module version rules_shell@0.4.1, but got rules_shell@0.6.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
ERROR: com.google.devtools.build.lib.bazel.bzlmod.ExternalDepsException: Direct dependency check failed.
Error: Command '['bazel', '--nosystem_rc', '--nohome_rc', 'info']' returned non-zero exit status 2.
Error: The command exited with status 1
error: running "plugin docker command" shell hook: The plugin docker command hook exited with status 1
```

Culprit:

Steps:
```
git clone https://github.com/bazelbuild/bazelisk
git reset 7ece043e5cbc6c41ce92e5c6e4ecd4cdae33b3bb --hard
export USE_BAZEL_VERSION=3f1de48bc5dc22ad5e11480e54a96739cf82d54a
bazel test //...
```

CC Greenteam @fweikert

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.