Skip to content

Commit 00d352b

Browse files
authored
chore: cleanup and fix some bzl_library deps in //python/private (#2381)
After the move out of `python/private/common`, some dep entries didn't get renamed to use the idiomatic local naming (`:foo`) instead of absolute names. Along the way, add a missing dep entry to py_runtime_rule on skylib's common_settings.
1 parent 2d9a321 commit 00d352b

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

python/private/BUILD.bazel

+25-24
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ bzl_library(
5656
srcs = ["attributes.bzl"],
5757
deps = [
5858
":common_bzl",
59+
":enum_bzl",
60+
":flags_bzl",
61+
":py_info_bzl",
5962
":py_internal_bzl",
63+
":reexports_bzl",
64+
":rules_cc_srcs_bzl",
6065
":semantics_bzl",
61-
"//python/private:enum_bzl",
62-
"//python/private:flags_bzl",
63-
"//python/private:py_info_bzl",
64-
"//python/private:reexports_bzl",
65-
"//python/private:rules_cc_srcs_bzl",
6666
"@bazel_skylib//rules:common_settings",
6767
],
6868
)
@@ -109,10 +109,10 @@ bzl_library(
109109
deps = [
110110
":attributes_bzl",
111111
":common_bzl",
112+
":py_cc_link_params_info_bzl",
112113
":py_internal_bzl",
113-
"//python/private:py_cc_link_params_info_bzl",
114-
"//python/private:py_interpreter_program_bzl",
115-
"//python/private:toolchain_types_bzl",
114+
":py_interpreter_program_bzl",
115+
":toolchain_types_bzl",
116116
"@bazel_skylib//lib:paths",
117117
],
118118
)
@@ -122,11 +122,11 @@ bzl_library(
122122
srcs = ["common.bzl"],
123123
deps = [
124124
":cc_helper_bzl",
125+
":py_info_bzl",
125126
":py_internal_bzl",
127+
":reexports_bzl",
128+
":rules_cc_srcs_bzl",
126129
":semantics_bzl",
127-
"//python/private:py_info_bzl",
128-
"//python/private:reexports_bzl",
129-
"//python/private:rules_cc_srcs_bzl",
130130
],
131131
)
132132

@@ -350,8 +350,8 @@ bzl_library(
350350
":common_bzl",
351351
":py_executable_bzl",
352352
":py_internal_bzl",
353+
":py_runtime_info_bzl",
353354
":semantics_bzl",
354-
"//python/private:py_runtime_info_bzl",
355355
],
356356
)
357357

@@ -362,14 +362,14 @@ bzl_library(
362362
":attributes_bzl",
363363
":cc_helper_bzl",
364364
":common_bzl",
365+
":flags_bzl",
366+
":py_cc_link_params_info_bzl",
367+
":py_executable_info_bzl",
368+
":py_info_bzl",
365369
":py_internal_bzl",
366-
"//python/private:flags_bzl",
367-
"//python/private:py_cc_link_params_info_bzl",
368-
"//python/private:py_executable_info_bzl",
369-
"//python/private:py_info_bzl",
370-
"//python/private:py_runtime_info_bzl",
371-
"//python/private:rules_cc_srcs_bzl",
372-
"//python/private:toolchain_types_bzl",
370+
":py_runtime_info_bzl",
371+
":rules_cc_srcs_bzl",
372+
":toolchain_types_bzl",
373373
"@bazel_skylib//lib:dicts",
374374
"@bazel_skylib//lib:structs",
375375
"@bazel_skylib//rules:common_settings",
@@ -410,10 +410,10 @@ bzl_library(
410410
deps = [
411411
":attributes_bzl",
412412
":common_bzl",
413+
":flags_bzl",
414+
":py_cc_link_params_info_bzl",
413415
":py_internal_bzl",
414-
"//python/private:flags_bzl",
415-
"//python/private:py_cc_link_params_info_bzl",
416-
"//python/private:toolchain_types_bzl",
416+
":toolchain_types_bzl",
417417
"@bazel_skylib//lib:dicts",
418418
"@bazel_skylib//rules:common_settings",
419419
],
@@ -473,13 +473,14 @@ bzl_library(
473473
name = "py_runtime_rule_bzl",
474474
srcs = ["py_runtime_rule.bzl"],
475475
deps = [
476+
":attributes_bzl",
477+
":py_internal_bzl",
476478
":py_runtime_info_bzl",
477479
":reexports_bzl",
478480
":util_bzl",
479-
"//python/private:attributes_bzl",
480-
"//python/private:py_internal_bzl",
481481
"@bazel_skylib//lib:dicts",
482482
"@bazel_skylib//lib:paths",
483+
"@bazel_skylib//rules:common_settings",
483484
],
484485
)
485486

0 commit comments

Comments
 (0)