You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add missing @bazel_tools files to bzl_library dependencies. (#1457)
This allows depending on just e.g. `//python:defs_bzl` without having to
also depend on our internal //docs targets or manually including the
extra bazel_tools files.
The missing files were hidden by the doc tests because those tests
manually include the extra files. Under the hood, it goes:
* defs.bzl ->
* py_runtime_pair.bzl ->
* @bazel_tools//tools/python:toolchain.bzl ->
* @bazel_tools//tools/python:private/defs.bzl ->
(Note the relationshps within @bazel_tools are Bazel-version specific)
Unfortunately, there isn't a public target for just the subset of files
we need from @bazel_tools, so we have to use the larger glob of all of
`@bazel_tools//tools`.
0 commit comments