Skip to content
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

Support bzlmod repositories #1316

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

fzakaria
Copy link

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)

fixes #1315

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)

fixes bazelbuild#1315
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unused_deps failing with bzlmod
1 participant