-
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_dep allows missing version with poor error #17126
Comments
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 30 days. It will be closed in the next 7 days unless any other activity occurs or the "not stale" label is added. |
@keertk not stale, triaged and not waiting for input |
@bazel-io flag |
@bazel-io fork 6.4.0 |
Ideally we would also include the location of the offending bazel_dep, but that requires a (slightly?) bigger change to record the locations of all bazel_deps. Fixes bazelbuild#17126 PiperOrigin-RevId: 554406088 Change-Id: I46865c31dc983de18ac64a37e8ee15ebec624937
Ideally we would also include the location of the offending bazel_dep, but that requires a (slightly?) bigger change to record the locations of all bazel_deps. Fixes #17126 PiperOrigin-RevId: 554406088 Change-Id: I46865c31dc983de18ac64a37e8ee15ebec624937 Co-authored-by: Googler <[email protected]>
A fix for this issue has been included in Bazel 6.4.0 RC1. Please test out the release candidate and report any issues as soon as possible. Thanks! |
Description of the bug:
If you specify this in your MODULE.bazel:
bazel errors with:
I imagine omitting a version is supported for overrides(?), but i think ideally the error would hint to the user that they are missing the version.
What is the output of
bazel info release
?release 6.0.0rc4
The text was updated successfully, but these errors were encountered: