Skip to content

Commit f3e1928

Browse files
committed
[py] Update python version in MODULE.bazel
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent aaf2070 commit f3e1928

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

MODULE.bazel

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ bazel_dep(name = "rules_jvm_external", version = "6.6")
2323
bazel_dep(name = "rules_nodejs", version = "6.3.2")
2424
bazel_dep(name = "rules_oci", version = "1.8.0")
2525
bazel_dep(name = "rules_pkg", version = "0.10.1")
26-
bazel_dep(name = "rules_python", version = "0.33.0")
26+
bazel_dep(name = "rules_python", version = "0.40.0")
2727
bazel_dep(name = "rules_proto", version = "6.0.2")
2828
bazel_dep(name = "rules_ruby", version = "0.13.0")
2929

@@ -111,11 +111,12 @@ use_repo(oci, "chrome_standalone", "firefox_standalone", "java_image_base")
111111
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
112112
python.toolchain(
113113
is_default = True,
114-
python_version = "3.8",
114+
python_version = "3.9",
115115
)
116-
python.toolchain(python_version = "3.9")
117116
python.toolchain(python_version = "3.10")
118117
python.toolchain(python_version = "3.11")
118+
python.toolchain(python_version = "3.12")
119+
python.toolchain(python_version = "3.13")
119120
use_repo(python, "pythons_hub")
120121

121122
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
@@ -127,10 +128,11 @@ pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
127128
requirements_lock = "//py:requirements_lock.txt",
128129
)
129130
for version in [
130-
"3.8",
131131
"3.9",
132132
"3.10",
133133
"3.11",
134+
"3.12",
135+
"3.13",
134136
]
135137
]
136138

0 commit comments

Comments
 (0)