File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ def gazelle_python_manifest(
158158# buildifier: disable=provider-params
159159AllSourcesInfo = 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
163163def _get_all_sources_impl (target , ctx ):
164164 is_rules_python = target .label .repo_name == _rules_python_workspace .repo_name
Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff line change @@ -24,11 +24,9 @@ rest of the symbols are for legacy `WORKSPACE` setups.
2424"""
2525
2626load ("//python/private:normalize_name.bzl" , "normalize_name" )
27- load ("//python/private/pypi:multi_pip_parse.bzl" , _multi_pip_parse = "multi_pip_parse" )
2827load ("//python/private/pypi:package_annotation.bzl" , _package_annotation = "package_annotation" )
2928load ("//python/private/pypi:pip_compile.bzl" , "pip_compile" )
3029load ("//python/private/pypi:pip_repository.bzl" , "pip_repository" )
31- load ("//python/private/pypi:whl_library_alias.bzl" , _whl_library_alias = "whl_library_alias" )
3230load ("//python/private/whl_filegroup:whl_filegroup.bzl" , _whl_filegroup = "whl_filegroup" )
3331
3432compile_pip_requirements = pip_compile
@@ -40,10 +38,3 @@ whl_filegroup = _whl_filegroup
4038pip_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
Original file line number Diff line number Diff 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-
237228bzl_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-
497479bzl_library (
498480 name = "whl_library_bzl" ,
499481 srcs = ["whl_library.bzl" ],
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments