-
Notifications
You must be signed in to change notification settings - Fork 4.4k
bazel_dep allows missing version with poor error #17126
Copy link
Copy link
Closed
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)area-BzlmodBzlmod-specific PRs, issues, and feature requestsBzlmod-specific PRs, issues, and feature requestsnot staleIssues or PRs that are inactive but not considered staleIssues or PRs that are inactive but not considered staleteam-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: bug
Description
Description of the bug:
If you specify this in your MODULE.bazel:
bazel_dep(
name = "apple_support",
)
bazel errors with:
ERROR: Error computing the main repository mapping: module not found in registries: apple_support@_
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)area-BzlmodBzlmod-specific PRs, issues, and feature requestsBzlmod-specific PRs, issues, and feature requestsnot staleIssues or PRs that are inactive but not considered staleIssues or PRs that are inactive but not considered staleteam-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: bug