-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
bugSomething isn't workingSomething isn't working
Description
(This issue may be due to user error on my part, but it does seem pretty odd!)
When I load distroless with this command (bazel_dep(name = "rules_distroless", version = "0.3.8")
), it loads fine.
When I load the newer version with bazel_dep(name = "rules_distroless", version = "0.5.1")
, I get this error:
ERROR: Failed to load Starlark extension '@@compatibility_proxy//:proxy.bzl'.
Cycle in the workspace file detected. This indicates that a repository is used prior to being defined.
The following chain of repository dependencies lead to the missing definition.
- @@compatibility_proxy
This could either mean you have to add the '@@compatibility_proxy' repository with a statement like `http_archive` in your WORKSPACE file (note that transitive dependencies are not added automatically), or move an existing definition earlier in your WORKSPACE file.
I suppose this could be due to some misconfiguration on my side, but it does seem like it should be possible to bazel_dep()
the latest version cleanly.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working