Skip to content

Commit e2725b5

Browse files
committed
start removing symbols
1 parent 8b18663 commit e2725b5

7 files changed

Lines changed: 4 additions & 432 deletions

File tree

gazelle/manifest/defs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def gazelle_python_manifest(
158158
# buildifier: disable=provider-params
159159
AllSourcesInfo = provider(fields = {"all_srcs": "All sources collected from the target and dependencies."})
160160

161-
_rules_python_workspace = Label("@rules_python//:WORKSPACE")
161+
_rules_python_workspace = Label("@rules_python//:MODULE.bazel")
162162

163163
def _get_all_sources_impl(target, ctx):
164164
is_rules_python = target.label.repo_name == _rules_python_workspace.repo_name

python/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,9 @@ bzl_library(
102102
srcs = ["pip.bzl"],
103103
deps = [
104104
"//python/private:normalize_name_bzl",
105-
"//python/private/pypi:multi_pip_parse_bzl",
106105
"//python/private/pypi:package_annotation_bzl",
107106
"//python/private/pypi:pip_compile_bzl",
108107
"//python/private/pypi:pip_repository_bzl",
109-
"//python/private/pypi:whl_library_alias_bzl",
110108
"//python/private/whl_filegroup:whl_filegroup_bzl",
111109
],
112110
)

python/pip.bzl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ rest of the symbols are for legacy `WORKSPACE` setups.
2424
"""
2525

2626
load("//python/private:normalize_name.bzl", "normalize_name")
27-
load("//python/private/pypi:multi_pip_parse.bzl", _multi_pip_parse = "multi_pip_parse")
2827
load("//python/private/pypi:package_annotation.bzl", _package_annotation = "package_annotation")
2928
load("//python/private/pypi:pip_compile.bzl", "pip_compile")
3029
load("//python/private/pypi:pip_repository.bzl", "pip_repository")
31-
load("//python/private/pypi:whl_library_alias.bzl", _whl_library_alias = "whl_library_alias")
3230
load("//python/private/whl_filegroup:whl_filegroup.bzl", _whl_filegroup = "whl_filegroup")
3331

3432
compile_pip_requirements = pip_compile
@@ -40,10 +38,3 @@ whl_filegroup = _whl_filegroup
4038
pip_utils = struct(
4139
normalize_name = normalize_name,
4240
)
43-
44-
# The following are only exported here because they are used from
45-
# multi_toolchain_aliases repository_rule, not intended for public use.
46-
#
47-
# See ./private/toolchains_repo.bzl
48-
multi_pip_parse = _multi_pip_parse
49-
whl_library_alias = _whl_library_alias

python/private/pypi/BUILD.bazel

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,6 @@ bzl_library(
225225
srcs = ["labels.bzl"],
226226
)
227227

228-
bzl_library(
229-
name = "multi_pip_parse_bzl",
230-
srcs = ["multi_pip_parse.bzl"],
231-
deps = [
232-
":pip_repository_bzl",
233-
"//python/private:text_util_bzl",
234-
],
235-
)
236-
237228
bzl_library(
238229
name = "package_annotation_bzl",
239230
srcs = ["package_annotation.bzl"],
@@ -485,15 +476,6 @@ bzl_library(
485476
],
486477
)
487478

488-
bzl_library(
489-
name = "whl_library_alias_bzl",
490-
srcs = ["whl_library_alias.bzl"],
491-
deps = [
492-
":render_pkg_aliases_bzl",
493-
"//python/private:full_version_bzl",
494-
],
495-
)
496-
497479
bzl_library(
498480
name = "whl_library_bzl",
499481
srcs = ["whl_library.bzl"],

python/private/pypi/multi_pip_parse.bzl

Lines changed: 0 additions & 166 deletions
This file was deleted.

python/private/pypi/whl_library_alias.bzl

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)