🐞 bug report
Affected Rule
The issue is caused by the rule:
During the loading phase.
Is this a regression?
I don't think so.
Description
Per #713 , rules_python cannot be used by root.
CI systems such as CircleCI and BuildBuddy uses root user by default.
Setting up non-root in those systems aren't very straightforward.
Also, it does not look like a responsibility of an ordinary user of rules_python to have to do this.
🔬 Minimal Reproduction
Example build event:
https://app.buildbuddy.io/invocation/55238174-54c3-459c-8d80-72722f2d00f9
🔥 Exception or Error
Relevant error message:
Error in fail: The current user is root, please run as non-root when using the hermetic Python interpreter. See https://github.com/bazelbuild/rules_python/pull/713.
🌍 Your Environment
Operating System:
Linux, CentOS8, WSL2-Ubuntu22.04
Output of bazel version:
Rules_python version:
1e869d8d945f0b406da65817cf70b4fa3105a0de
Anything else relevant?
🐞 bug report
Affected Rule
The issue is caused by the rule:During the loading phase.
Is this a regression?
I don't think so.
Description
Per #713 ,
rules_pythoncannot be used byroot.CI systems such as CircleCI and BuildBuddy uses
rootuser by default.Setting up non-root in those systems aren't very straightforward.
Also, it does not look like a responsibility of an ordinary user of rules_python to have to do this.
🔬 Minimal Reproduction
Example build event:
https://app.buildbuddy.io/invocation/55238174-54c3-459c-8d80-72722f2d00f9
🔥 Exception or Error
Relevant error message:
🌍 Your Environment
Operating System:
Output of
bazel version:Rules_python version:
Anything else relevant?