Skip to content

Commit 60d6880

Browse files
committed
fixup toolchain versino setting
1 parent 5511d98 commit 60d6880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/private/py_toolchain_suite.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ def py_toolchain_suite(*, prefix, user_repository_name, python_version, set_pyth
6868
target_settings = [prefix + "_version_setting"]
6969
elif set_python_version_constraint == "False":
7070
native.config_setting(
71-
name = prefix + "_version_setting",
71+
name = prefix + "_version_setting_default",
7272
flag_values = flag_values | {
7373
Label("//python/config_settings:python_version"): "",
7474
},
7575
visibility = ["//visibility:private"],
7676
)
77-
target_settings = [prefix + "_version_setting"]
77+
target_settings = [prefix + "_version_setting_default"]
7878
else:
7979
fail(("Invalid set_python_version_constraint value: got {} {}, wanted " +
8080
"either the string 'True' or the string 'False'; " +

0 commit comments

Comments
 (0)