Skip to content

[Bazel CI] BazelDependency Error: rules_shell version mismatch #723

Description

@satyanandak

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

Platform: Ubuntu, MacOs

Logs:

ERROR: �[0mFor 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: �[0mcom.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�[0m
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions