diff --git a/MODULE.bazel b/MODULE.bazel index 3abb06f445ce9513d3ff18ba57a1383649ab6800..cbe23af0e85586f599b928e935fbe34b99ab8ab4 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -16,7 +16,7 @@ bazel_dep(name = "rules_uv", version = "0.56.0", dev_dependency = True) bazel_dep(name = "buildifier_prebuilt", version = "8.0.1", dev_dependency = True) bazel_dep(name = "hermetic_cc_toolchain", version = "3.1.0", dev_dependency = True) -python = use_extension("@rules_python//python/extensions:python.bzl", "python", dev_dependency = True) +python = use_extension("@rules_python//python/extensions:python.bzl", "python") python.toolchain( # TODO: remove this when `ignore_root_user_error` is hermetic # https://github.com/bazelbuild/rules_python/issues/2016 diff --git a/e2e/MODULE.bazel b/e2e/MODULE.bazel index 3c52d018c06d52bac64027ee9d8a7ed75cd42bf6..0d84b7e29ad7b6a167957f4c7db03720d372eafc 100644 --- a/e2e/MODULE.bazel +++ b/e2e/MODULE.bazel @@ -21,11 +21,3 @@ python.toolchain( is_default = True, python_version = "3.11", ) - -# TODO: remove this when `rules_python` registers a `python_3_13_host` -python.toolchain( - # TODO: remove this when `ignore_root_user_error` is hermetic - # https://github.com/bazelbuild/rules_python/issues/2016 - ignore_root_user_error = True, - python_version = "3.13", -)