Skip to content

Commit 73aec8f

Browse files
authored
fix: remove reference to @bazel_tools//tools/python/private:defs.bzl (#1173)
The file was removed in Bazel@HEAD in bazelbuild/bazel#17545 This fixes failures when using rules_python with Bazel@HEAD. Addresses: bazelbuild/bazel#17874
1 parent c72c7bc commit 73aec8f

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

docs/BUILD.bazel

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,6 @@ _DOCS = {
3232
# because they're only used for doc generation. This way, we avoid requiring
3333
# our users to depend on Skylib.
3434

35-
# Requires Bazel 0.29 onward for public visibility of these .bzl files.
36-
bzl_library(
37-
name = "bazel_python_tools",
38-
srcs = [
39-
"@bazel_tools//tools/python:private/defs.bzl",
40-
"@bazel_tools//tools/python:srcs_version.bzl",
41-
"@bazel_tools//tools/python:toolchain.bzl",
42-
"@bazel_tools//tools/python:utils.bzl",
43-
],
44-
)
45-
4635
bzl_library(
4736
name = "bazel_repo_tools",
4837
srcs = [
@@ -57,7 +46,7 @@ bzl_library(
5746
"//python/private:reexports.bzl",
5847
],
5948
deps = [
60-
":bazel_python_tools",
49+
":bazel_repo_tools",
6150
"//python:defs_bzl",
6251
"//python/private:reexports_bzl",
6352
],

0 commit comments

Comments
 (0)