-
Notifications
You must be signed in to change notification settings - Fork 63
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
Bug: Cycle in the workspace file detected #225
Comments
I looked into this in detail now and can report that the full cycle is:
So rules_java isn't at fault here (sorry about the false alarm). Instead, bazel-contrib/rules_jvm_external@3df00a6 introduced a dependency of rules_jvm_external on bazel_features, but https://github.com/JetBrains/hirschgarten/blob/bazel-steward/rules_jvm_external/6.4/WORKSPACE.bzlmod doesn't properly instantiate the WORKSPACE dependency macro of rules_jvm_external, which is a transitive dep of rules_sonatype but not listed in its deps section at https://github.com/JetBrains/hirschgarten/tree/main/rules_sonatype. |
I don't know whether it changes anything but I can reproduce this issue without using bzlmod. |
@gergelyfabian and without using rules_sonatype? |
According to my knowledge no sonatype in this project. |
Checked while still using rules_jvm_external 6.3:
|
As reported here:
bazel-contrib/bazel_features#70 (comment)
I'm not an expert, just somebody who wants to see this fixed after having to upgrade:
Overheard:
Please advise if the issue above is caused by rules_java, or if the problem sits elsewhere
The text was updated successfully, but these errors were encountered: