You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is surprising why it's failing but if I read the documentation for --override_repository on Bazel it says ref:
Note: With Bzlmod, remember to use canonical repo names here. Alternatively, use the --override_module flag to override a module to a local directory, similar to the local_path_override directive in MODULE.bazel.
unused_deps seems to be broken for repositories that have migrated over
to bzlmod.
Specifically, the reference to the aspect must be done via the canonical
name for the workspace now.
(This probably even needs to change once WORKSPACE is defunct in Bazel 9)
This will break users of unused_deps if they are not on bzlmod but given
the latest release of Bazel 8 this is the direction we are headed.
Existing WORKSPACE users can pin to a previous version.
(Alternatively we could maybe support a flag)
fixesbazelbuild#1315
I'm failing to run unused_deps on our repository which is migrated to bzlmod.
slack thread
culprit
buildtools/unused_deps/unused_deps.go
Line 383 in 8bd806d
This is surprising why it's failing but if I read the documentation for
--override_repository
on Bazel it says ref:fix
I applied the following patch and it worked
The text was updated successfully, but these errors were encountered: