Skip to content

Commit 8be52ad

Browse files
committed
add custom_runtime to py_reconfig transition
1 parent 17dfaef commit 8be52ad

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/support/py_reconfig.bzl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ load("//python/private:py_binary_macro.bzl", "py_binary_macro") # buildifier: d
2323
load("//python/private:py_binary_rule.bzl", "create_py_binary_rule_builder") # buildifier: disable=bzl-visibility
2424
load("//python/private:py_test_macro.bzl", "py_test_macro") # buildifier: disable=bzl-visibility
2525
load("//python/private:py_test_rule.bzl", "create_py_test_rule_builder") # buildifier: disable=bzl-visibility
26-
load("//tests/support:support.bzl", "VISIBLE_FOR_TESTING")
26+
load("//tests/support:support.bzl", "CUSTOM_RUNTIME", "VISIBLE_FOR_TESTING")
2727

2828
def _perform_transition_impl(input_settings, attr, base_impl):
2929
settings = {k: input_settings[k] for k in _RECONFIG_INHERITED_OUTPUTS if k in input_settings}
@@ -48,12 +48,13 @@ def _perform_transition_impl(input_settings, attr, base_impl):
4848
return settings
4949

5050
_RECONFIG_INPUTS = [
51+
"//command_line_option:extra_toolchains",
52+
CUSTOM_RUNTIME,
5153
labels.BOOTSTRAP_IMPL,
5254
labels.PYTHON_SRC,
5355
labels.REPL_DEP,
54-
"//command_line_option:extra_toolchains",
55-
labels.VENVS_USE_DECLARE_SYMLINK,
5656
labels.VENVS_SITE_PACKAGES,
57+
labels.VENVS_USE_DECLARE_SYMLINK,
5758
]
5859
_RECONFIG_OUTPUTS = _RECONFIG_INPUTS + [
5960
"//command_line_option:build_python_zip",

0 commit comments

Comments
 (0)