Skip to content

Commit 2c53bf6

Browse files
authored
chore: Remove aliases in //docs (bazel-contrib#3125)
Fixes bazel-contrib#2976. The rest of it was fixed in bazel-contrib#3045.
1 parent 0d0ab5c commit 2c53bf6

File tree

2 files changed

+1
-37
lines changed

2 files changed

+1
-37
lines changed

docs/BUILD.bazel

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
1615
load("@bazel_skylib//rules:build_test.bzl", "build_test")
1716
load("@dev_pip//:requirements.bzl", "requirement")
1817
load("//python/private:bzlmod_enabled.bzl", "BZLMOD_ENABLED") # buildifier: disable=bzl-visibility
@@ -189,38 +188,3 @@ lock(
189188
],
190189
visibility = ["//:__subpackages__"],
191190
)
192-
193-
# Temporary compatibility aliases for some other projects depending on the old
194-
# bzl_library targets.
195-
alias(
196-
name = "defs",
197-
actual = "//python:defs_bzl",
198-
deprecation = "Use //python:defs_bzl instead; targets under //docs are internal.",
199-
visibility = ["//visibility:public"],
200-
)
201-
202-
alias(
203-
name = "bazel_repo_tools",
204-
actual = "//python/private:bazel_tools_bzl",
205-
deprecation = "Use @bazel_tools//tools:bzl_srcs instead; targets under //docs are internal.",
206-
visibility = ["//visibility:public"],
207-
)
208-
209-
bzl_library(
210-
name = "pip_install_bzl",
211-
deprecation = "Use //python:pip_bzl or //python/pip_install:pip_repository_bzl instead; " +
212-
"targets under //docs are internal.",
213-
visibility = ["//visibility:public"],
214-
deps = [
215-
"//python:pip_bzl",
216-
"//python/pip_install:pip_repository_bzl",
217-
],
218-
)
219-
220-
alias(
221-
name = "requirements_parser_bzl",
222-
actual = "//python/pip_install:pip_repository_bzl",
223-
deprecation = "Use //python/pip_install:pip_repository_bzl instead; Both the requirements " +
224-
"parser and targets under //docs are internal",
225-
visibility = ["//visibility:public"],
226-
)

sphinxdocs/private/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
16-
load("//python:proto.bzl", "py_proto_library")
16+
load("@com_google_protobuf//bazel:py_proto_library.bzl", "py_proto_library")
1717
load("//python:py_binary.bzl", "py_binary")
1818
load("//python:py_library.bzl", "py_library")
1919

0 commit comments

Comments
 (0)