Skip to content

Commit 1c25832

Browse files
committed
update comments
1 parent fe8b278 commit 1c25832

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

MODULE.bazel

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,16 @@ use_repo(
3737
# We need to do another use_extension call to expose the "pythons_hub"
3838
# repo.
3939
python = use_extension("//python/extensions:python.bzl", "python")
40-
python.defaults(
41-
python_version = "3.11",
42-
)
4340

4441
# The default toolchain to use if nobody configures a toolchain.
4542
# NOTE: This is not a stable version. It is provided for convenience, but will
4643
# change frequently to track the most recent Python version.
4744
# NOTE: The root module can override this.
45+
# NOTE: There must be a corresponding `python.toolchain()` call for the version
46+
# specified here.
47+
python.defaults(
48+
python_version = "3.11",
49+
)
4850
python.toolchain(
4951
python_version = "3.11",
5052
)

0 commit comments

Comments
 (0)