From 0ba98a6e3bc529af57d871e8b7e3e9a14c5d707c Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Tue, 7 Mar 2023 11:11:08 -0800 Subject: [PATCH] fix(bzlmod): expose ignore_root_user_error attribute from python_register_toolchains (#1114) --- python/extensions.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/extensions.bzl b/python/extensions.bzl index 75de4157bb..42f0b58226 100644 --- a/python/extensions.bzl +++ b/python/extensions.bzl @@ -30,6 +30,7 @@ def _python_impl(module_ctx): # Toolchain registration in bzlmod is done in MODULE file register_toolchains = False, register_coverage_tool = attr.configure_coverage_tool, + ignore_root_user_error = attr.ignore_root_user_error, ) python = module_extension( @@ -41,6 +42,7 @@ python = module_extension( mandatory = False, doc = "Whether or not to configure the default coverage tool for the toolchains.", ), + "ignore_root_user_error": attr.bool(), "name": attr.string(mandatory = True), "python_version": attr.string(mandatory = True), },