Skip to content

Commit 65c5542

Browse files
committed
set the default python_version string_flag to make the selects work
1 parent eca95cc commit 65c5542

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

examples/bzlmod/.bazelrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
common --experimental_enable_bzlmod
1+
common --enable_bzlmod
22

33
coverage --java_runtime_version=remotejdk_11
44

@@ -8,3 +8,6 @@ test --test_output=errors --enable_runfiles
88
build --enable_runfiles
99

1010
startup --windows_enable_symlinks
11+
12+
# Set the default version of python_version config
13+
common --@rules_python//python/config_settings:python_version=3.9.18

examples/bzlmod/MODULE.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ pip.parse(
112112
"cp39_linux_*",
113113
"cp39_*",
114114
# NOTE: Adding multiple version right now does not work yet.
115+
"cp310_*",
116+
"cp311_*",
115117
],
116118
hub_name = "pip",
117119
python_version = "3.9",

0 commit comments

Comments
 (0)