Closed
Description
π 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
:
6.1.1
Rules_python version:
1e869d8d945f0b406da65817cf70b4fa3105a0de
Anything else relevant?