From 41d48a164e06efc1b7b0adaac44e28bafc03561b Mon Sep 17 00:00:00 2001 From: Jamie Snape Date: Sat, 24 Jan 2026 11:08:03 -0500 Subject: [PATCH] Add rules_python and configure Python toolchain Added rules_python dependency and configured Python toolchain. --- MODULE.bazel | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/MODULE.bazel b/MODULE.bazel index 17381d4..b7121c4 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -57,4 +57,16 @@ use_repo(non_module_deps, "google_bazel_common") bazel_dep(name = "rules_license", version = "1.0.0") +bazel_dep(name = "rules_python", version = "1.8.1", dev_dependency = True) + +python = use_extension( + "@rules_python//python/extensions:python.bzl", + "python", +) +python.toolchain( + ignore_root_user_error = True, + is_default = True, + python_version = "3.14", +) + bazel_dep(name = "rules_pkg", version = "1.2.0", dev_dependency = True)