From 1ba22a0bc5279bb12034c2941a5cbd86e075c1b3 Mon Sep 17 00:00:00 2001 From: Martin Medler Date: Thu, 18 Jan 2024 22:01:07 +0100 Subject: [PATCH] wip --- test/aspect/MODULE.bazel | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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")