bzlmod icon indicating copy to clipboard operation
bzlmod copied to clipboard

dev_dependency for bazel_dep

Open Wyverald opened this issue 4 years ago • 0 comments

Reintroduce dev_dependency to bazel_dep.

We removed it because of potential BUILD breaks in situations like https://github.com/bazelbuild/bazel/issues/12835. However, not having dev dependencies means that the dependency graph could be cluttered in an unbounded manner. For example, most rulesets depend on bazel_skylib, which uses rules_pkg to manage releases. Without dev dependencies, this means that most Bazel projects would depend on bazel_skylib -> rules_pkg -> rules_python -> {insert crapton of deps here}.

Wyverald avatar Jan 19 '21 16:01 Wyverald