-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIP_ROOT_USER_ACTION=ignore ignored: pip still issues error messages about running it as root #930
Comments
Additional note: also tried with setup-python@v4 and specific python versions 3.11.9 and 3.11.8. |
Hello @RoFz 👋, |
Hello @RoFz 👋, -name: Change ownership of /github/home
run: sudo chown -R $(whoami) /github/home
Regarding the warning related to running pip as root: The |
@priya-kinthali the |
Hello @RoFz 👋, Thank you, @maikelvdh, for your valuable insights regarding the pip cache warning 😊. As you correctly pointed out, the warning from the
Additionally, the PIP_ROOT_USER_ACTION=ignore variable is correctly set and functions as expected for pip versions >=23.0.2 in the Thank you for your patience! 😊 |
Description:
setup-action@v5 and python-version: 3.11 leads to pip's warnings about running as root, which should have been suppressed by the install script on self-hosted runner and GHES 3.12.8.
Action version:
@v5
Platform:
Runner type:
Tools version:
python 3.11 (3.11.9)
Repro steps:
Expected behavior:
No warnings, since the the install script seems to properly export PIP_ROOT_USER_ACTION=ignore.
Actual behavior:
pip throws the known errors (warnings?) about running it as root:
This is related to #513, which, although initially opened as a feature request and closed as such, is still receiving updates from people impacted by the same problem.
The text was updated successfully, but these errors were encountered: