Skip to content

Commit

Permalink
fix: remove reference to @bazel_tools//tools/python/private:defs.bzl (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
comius authored Apr 24, 2023
1 parent c72c7bc commit 73aec8f
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions docs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,6 @@ _DOCS = {
# because they're only used for doc generation. This way, we avoid requiring
# our users to depend on Skylib.

# Requires Bazel 0.29 onward for public visibility of these .bzl files.
bzl_library(
name = "bazel_python_tools",
srcs = [
"@bazel_tools//tools/python:private/defs.bzl",
"@bazel_tools//tools/python:srcs_version.bzl",
"@bazel_tools//tools/python:toolchain.bzl",
"@bazel_tools//tools/python:utils.bzl",
],
)

bzl_library(
name = "bazel_repo_tools",
srcs = [
Expand All @@ -57,7 +46,7 @@ bzl_library(
"//python/private:reexports.bzl",
],
deps = [
":bazel_python_tools",
":bazel_repo_tools",
"//python:defs_bzl",
"//python/private:reexports_bzl",
],
Expand Down

0 comments on commit 73aec8f

Please sign in to comment.