Skip to content

Commit 44d41ee

Browse files
keithf0rmiga
andauthored
Include ignore_root_user_error in repository_rule keys (bazel-contrib#835)
Otherwise you can see this warning: ``` DEBUG: Rule 'python3_9_aarch64-apple-darwin' indicated that a canonical reproducible form can be obtained by dropping arguments ["ignore_root_user_error"] DEBUG: Repository python3_9_aarch64-apple-darwin instantiated at: /Users/ksmiley/dev/lyft/ios4/WORKSPACE:113:27: in <toplevel> /private/var/tmp/_bazel_ksmiley/c921e5b09fe02de914188528345349ce/external/rules_python/python/repositories.bzl:366:26: in python_register_toolchains Repository rule python_repository defined at: /private/var/tmp/_bazel_ksmiley/c921e5b09fe02de914188528345349ce/external/rules_python/python/repositories.bzl:269:36: in <toplevel> ``` Co-authored-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
1 parent fa4c408 commit 44d41ee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

python/repositories.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ py_runtime_pair(
257257
return {
258258
"distutils": rctx.attr.distutils,
259259
"distutils_content": rctx.attr.distutils_content,
260+
"ignore_root_user_error": rctx.attr.ignore_root_user_error,
260261
"name": rctx.attr.name,
261262
"platform": platform,
262263
"python_version": python_version,

0 commit comments

Comments
 (0)