-
Notifications
You must be signed in to change notification settings - Fork 322
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
MODULE.bazel
and REPO.bazel
are not supported
#502
Comments
copybara-service bot
pushed a commit
to google/bazel-common
that referenced
this issue
Dec 17, 2024
This was prompted by the fact that my build used Bazel 8.0.0 when I didn't want it during cl/706839076 because I was running an [old](bazelbuild/bazelisk#502) version of Bazelisk. I fixed that by upgrading Bazelisk, but I figured I might as well update Bazel, too. Along the way, I noticed this: ``` WARNING: For repository 'rules_java', the root module requires module version rules_java@7.12.1, but got rules_java@8.6.1 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off ``` So I upgraded `rules_java`, too, and `rules_jvm_external` while I was in the area. RELNOTES=n/a PiperOrigin-RevId: 707067355
copybara-service bot
pushed a commit
to google/bazel-common
that referenced
this issue
Dec 17, 2024
This was prompted by the fact that my build used Bazel 8.0.0 when I didn't want it during cl/706839076 because I was running an [old](bazelbuild/bazelisk#502) version of Bazelisk. I fixed that by upgrading Bazelisk, but I figured I might as well update Bazel, too. Along the way, I noticed this: ``` WARNING: For repository 'rules_java', the root module requires module version rules_java@7.12.1, but got rules_java@8.6.1 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off ``` So I upgraded `rules_java`, too, and `rules_jvm_external` while I was in the area. RELNOTES=n/a PiperOrigin-RevId: 707159453
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of Bazel 6.3.0,
MODULE.bazel
andREPO.bazel
are also considered workspace boundaries. Bazelisk currently does not search for these, so in situations where either is present butWORKSPACE.bazel
orWORKSPACE
is absent, it will fail to find the workspace root and any relative.bazeliskrc
or.bazelversion
.The text was updated successfully, but these errors were encountered: