@@ -10,7 +10,7 @@ module(
1010# When bumping, add a comment explaining what's required from the newer release.
1111bazel_dep (name = "aspect_bazel_lib" , version = "1.40.0" )
1212bazel_dep (name = "bazel_skylib" , version = "1.4.2" )
13- bazel_dep (name = "rules_python" , version = "0.29 .0" )
13+ bazel_dep (name = "rules_python" , version = "0.40 .0" )
1414bazel_dep (name = "platforms" , version = "0.0.7" )
1515
1616
@@ -21,6 +21,12 @@ python.toolchain(
2121 python_version = "3.8.12" ,
2222)
2323
24+ python_stdlib_list = use_extension ("@rules_python//python:extensions.bzl" , "python_stdlib_list" )
25+ use_repo (
26+ python_stdlib_list ,
27+ "python_stdlib_list" ,
28+ )
29+
2430tools = use_extension ("//py:extensions.bzl" , "py_tools" )
2531tools .rules_py_tools ()
2632use_repo (tools , "rules_py_tools" )
@@ -38,9 +44,10 @@ register_toolchains(
3844# NOTE: when publishing to BCR, we patch these to be dev_dependency, as we publish pre-built binaries
3945# along with our releases.
4046
47+ # Versions newer than 0.58 fail with https://github.com/bazelbuild/rules_rust/issues/3441
4148bazel_dep (
4249 name = "rules_rust" ,
43- version = "0.38 .0" ,
50+ version = "0.58 .0" ,
4451 # In released versions: dev_dependency = True
4552)
4653
0 commit comments