diff --git a/test/aspect/MODULE.bazel b/test/aspect/MODULE.bazel index 86f475f3..e4200d18 100644 --- a/test/aspect/MODULE.bazel +++ b/test/aspect/MODULE.bazel @@ -40,19 +40,23 @@ python = use_extension( dev_dependency = True, ) python.toolchain( - is_default = True, + is_default = False, python_version = "3.8", ) python.toolchain( + is_default = False, python_version = "3.9", ) python.toolchain( + is_default = False, python_version = "3.10", ) python.toolchain( + is_default = False, python_version = "3.11", ) python.toolchain( + is_default = False, python_version = "3.12", ) @@ -92,3 +96,5 @@ bazel_dep( version = "0.0.7", dev_dependency = True, ) + +register_toolchains("@bazel_tools//tools/python:autodetecting_toolchain")