René's URL Explorer Experiment


Title: PIP_ROOT_USER_ACTION=ignore ignored: pip still issues error messages about running it as root · Issue #930 · actions/setup-python · GitHub

Open Graph Title: PIP_ROOT_USER_ACTION=ignore ignored: pip still issues error messages about running it as root · Issue #930 · actions/setup-python

X Title: PIP_ROOT_USER_ACTION=ignore ignored: pip still issues error messages about running it as root · Issue #930 · actions/setup-python

Description: 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: Ubuntu macO...

Open Graph Description: 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. A...

X Description: 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....

Opengraph URL: https://github.com/actions/setup-python/issues/930

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PIP_ROOT_USER_ACTION=ignore ignored: pip still issues error messages about running it as root","articleBody":"**Description:**\r\nsetup-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](https://github.com/actions/python-versions/blob/main/installers/nix-setup-template.sh) on self-hosted runner and GHES 3.12.8.\r\n\r\n**Action version:**\r\n@v5\r\n\r\n**Platform:**\r\n- [x] Ubuntu\r\n- [ ] macOS\r\n- [ ] Windows\r\n\r\n**Runner type:**\r\n- [ ] Hosted\r\n- [x] Self-hosted\r\n\r\n**Tools version:**\r\npython 3.11 (3.11.9)\r\n\r\n**Repro steps:**  \r\n\r\n1. job running under an ubuntu:jammy container image, as root (without 'options: --user ...)\r\n2. setup-python step like so:\r\n```\r\n      - name: Set up python\r\n        uses: actions/setup-python@v5\r\n        with:\r\n          python-version: '3.11'\r\n```\r\n\r\n**Expected behavior:**\r\nNo warnings, since the [the install script](https://github.com/actions/python-versions/blob/main/installers/nix-setup-template.sh) seems to properly export PIP_ROOT_USER_ACTION=ignore.\r\n\r\n**Actual behavior:**\r\npip throws the known errors (warnings?) about running it as root:\r\n\r\n```\r\nError: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behavior with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\r\n  Error: WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.\r\n```\r\n\r\nThis is related to https://github.com/actions/setup-python/issues/513, which, although initially opened as a feature request and closed as such, is still receiving updates from people impacted by the same problem.\r\n\r\n","author":{"url":"https://github.com/RoFz","@type":"Person","name":"RoFz"},"datePublished":"2024-08-28T15:35:58Z","url":"https://github.com/actions/setup-python/issues/930"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:777fbf67-02ec-2f67-8612-a3083f94373a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBD42:7B817:8C8063:B9C0A1:6AF84703
html-safe-nonceaf60b1417b98bf08596aed1c66056d359a9b38a180d6ba6773f1698d2693d51b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDQyOjdCODE3OjhDODA2MzpCOUMwQTE6NkFGODQ3MDMiLCJ2aXNpdG9yX2lkIjoiNTM4MjUwNDk3NzY1NjIwMzAxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf9eb046912bdc06542154e237146ed9bc44e048b8da75f8ed1daeb73ed794f23
hovercard-subject-tagissue:2492439613
github-keyboard-shortcutsrepository,issues,actions,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/setup-python/930/issue_layout
twitter:imagehttps://opengraph.githubassets.com/46f4a7fede3d1316ed40548fd5b7171ea4cd7eed4892680bc28890cbc7c1c7b3/actions/setup-python/issues/930
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/46f4a7fede3d1316ed40548fd5b7171ea4cd7eed4892680bc28890cbc7c1c7b3/actions/setup-python/issues/930
og:image:altDescription: 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. A...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRoFz
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-preview
go-importgithub.com/actions/setup-python git https://github.com/actions/setup-python.git
octolytics-dimension-user_id44036562
octolytics-dimension-user_loginactions
octolytics-dimension-repository_id192625525
octolytics-dimension-repository_nwoactions/setup-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id192625525
octolytics-dimension-repository_network_root_nwoactions/setup-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release653be32ff5c755082a4db662491bfbbcfc9112c1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/actions/setup-python/issues/930#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-python%2Fissues%2F930
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-python%2Fissues%2F930
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=actions%2Fsetup-python
Reloadhttps://github.com/actions/setup-python/issues/930
Reloadhttps://github.com/actions/setup-python/issues/930
Reloadhttps://github.com/actions/setup-python/issues/930
actionshttps://github.com/actions
setup-pythonhttps://github.com/actions/setup-python
Codehttps://github.com/actions/setup-python
Issues37 (37)https://github.com/actions/setup-python/issues
Pull requests24 (24)https://github.com/actions/setup-python/pulls
Actionshttps://github.com/actions/setup-python/actions
Projectshttps://github.com/actions/setup-python/projects
Security and qualityhttps://github.com/actions/setup-python/security
Insightshttps://github.com/actions/setup-python/pulse
https://github.com/actions/setup-python
New issuehttps://github.com/login?return_to=https://github.com/actions/setup-python/issues/930
New issuehttps://github.com/login?return_to=https://github.com/actions/setup-python/issues/930
PIP_ROOT_USER_ACTION=ignore ignored: pip still issues error messages about running it as roothttps://github.com/actions/setup-python/issues/930#top
https://github.com/v-priya-kinthali
bugSomething isn't workinghttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/RoFz
RoFzhttps://github.com/RoFz
on Aug 28, 2024https://github.com/actions/setup-python/issues/930#issue-2492439613
the install scripthttps://github.com/actions/python-versions/blob/main/installers/nix-setup-template.sh
@v5https://github.com/v5
the install scripthttps://github.com/actions/python-versions/blob/main/installers/nix-setup-template.sh
#513https://github.com/actions/setup-python/issues/513
RoFzhttps://github.com/RoFz
bugSomething isn't workinghttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22bug%22
needs triagehttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22needs%20triage%22
on Aug 28, 2024https://github.com/actions/setup-python/issues/930#event-14049213630
https://github.com/RoFz
RoFzhttps://github.com/RoFz
on Aug 28, 2024https://github.com/actions/setup-python/issues/930#issuecomment-2315694260
https://github.com/v-priyagupta108
v-priyagupta108https://github.com/v-priyagupta108
on Aug 29, 2024https://github.com/actions/setup-python/issues/930#issuecomment-2317920905
@RoFzhttps://github.com/RoFz
v-priyagupta108https://github.com/v-priyagupta108
needs triagehttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22needs%20triage%22
on Aug 29, 2024https://github.com/actions/setup-python/issues/930#event-14063673821
v-priya-kinthalihttps://github.com/v-priya-kinthali
on Sep 9, 2024https://github.com/actions/setup-python/issues/930#event-14183466949
https://github.com/v-priya-kinthali
v-priya-kinthalihttps://github.com/v-priya-kinthali
on Sep 20, 2024https://github.com/actions/setup-python/issues/930#issuecomment-2363499262
@RoFzhttps://github.com/RoFz
https://github.com/maikelvdh
maikelvdhhttps://github.com/maikelvdh
on Sep 27, 2024https://github.com/actions/setup-python/issues/930#issuecomment-2378985757
https://github.com/python/cpython/blob/main/Lib/ensurepip/__init__.py#L97-L106https://github.com/python/cpython/blob/main/Lib/ensurepip/__init__.py#L97-L106
https://github.com/v-priya-kinthali
v-priya-kinthalihttps://github.com/v-priya-kinthali
on Oct 1, 2024https://github.com/actions/setup-python/issues/930#issuecomment-2385069434
@RoFzhttps://github.com/RoFz
@maikelvdhhttps://github.com/maikelvdh
v-priya-kinthalihttps://github.com/v-priya-kinthali
completedhttps://github.com/actions/setup-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 1, 2024https://github.com/actions/setup-python/issues/930#event-14467807711
Andrew-Damehttps://github.com/Andrew-Dame
on Feb 12, 2026https://github.com/actions/setup-python/issues/930#event-22721109952
Remove use of setup-python and use script to install python/pip (#130)https://github.com/google-ml-infra/actions/commit/21a61c36b760aaeccf2fbef973defef9d37ed27b
#130https://github.com/google-ml-infra/actions/pull/130
21a61c3https://github.com/google-ml-infra/actions/commit/21a61c36b760aaeccf2fbef973defef9d37ed27b
ecalubaquibhttps://github.com/ecalubaquib
on May 21, 2026https://github.com/actions/setup-python/issues/930#event-25828010786
Remove use of setup-python and use script to install python/pip (#130)https://github.com/google-ml-infra/bap/commit/edf4b20449b7d7e1f0e8ffe1dfa13cb93b9a8b43
edf4b20https://github.com/google-ml-infra/bap/commit/edf4b20449b7d7e1f0e8ffe1dfa13cb93b9a8b43
Sign up for freehttps://github.com/signup?return_to=https://github.com/actions/setup-python/issues/930
Sign in to commenthttps://github.com/login?return_to=https://github.com/actions/setup-python/issues/930
v-priya-kinthalihttps://github.com/v-priya-kinthali
bugSomething isn't workinghttps://github.com/actions/setup-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.