-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
bazel mod tidy logs a warning for the very thing it's about to fix #24495
Comments
The warnings tell the user to run `bazel mod tidy`, which is very confusing. Fixes bazelbuild#24495 Closes bazelbuild#24729. PiperOrigin-RevId: 708007222 Change-Id: I60dc889281a776bbf08a7f9537272d7692cce1d8
The warnings tell the user to run `bazel mod tidy`, which is very confusing. Fixes #24495 Closes #24729. PiperOrigin-RevId: 708007222 Change-Id: I60dc889281a776bbf08a7f9537272d7692cce1d8 Commit 455ddb7 Co-authored-by: Fabian Meumertzheim <[email protected]>
The warnings tell the user to run `bazel mod tidy`, which is very confusing. Fixes bazelbuild#24495 Closes bazelbuild#24729. PiperOrigin-RevId: 708007222 Change-Id: I60dc889281a776bbf08a7f9537272d7692cce1d8 (cherry picked from commit 455ddb7)
The warnings tell the user to run `bazel mod tidy`, which is very confusing. Fixes bazelbuild#24495 Closes bazelbuild#24729. PiperOrigin-RevId: 708007222 Change-Id: I60dc889281a776bbf08a7f9537272d7692cce1d8 (cherry picked from commit 455ddb7)
A fix for this issue has been included in Bazel 8.0.1 RC1. Please test out the release candidate and report any issues as soon as possible. |
A fix for this issue has been included in Bazel 7.5.0 RC2. Please test out the release candidate and report any issues as soon as possible. |
The warnings tell the user to run `bazel mod tidy`, which is very confusing. Fixes bazelbuild#24495 Closes bazelbuild#24729. PiperOrigin-RevId: 708007222 Change-Id: I60dc889281a776bbf08a7f9537272d7692cce1d8
Description of the bug:
bazel mod tidy logs a warning for the very thing it's about to fix, for e.g.:
Re-running doesn't log that warning because
bazel mod tidy
has already fixed it.Which category does this issue belong to?
Core
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Run
bazel mod tidy
in a situation where you expect updates toMODULE.bazel
(say while using any module extension that pulls in new dependencies).Which operating system are you running Bazel on?
Darwin
What is the output of
bazel info release
?release 7.1.2
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.
No response
Have you found anything relevant by searching the web?
No I haven't
Any other information, logs, or outputs that you want to share?
Issue filed in Gazelle as well: bazel-contrib/bazel-gazelle#1988
The text was updated successfully, but these errors were encountered: