Title: Suppress warnings during Python installation · Issue #513 · actions/setup-python · GitHub
Open Graph Title: Suppress warnings during Python installation · Issue #513 · actions/setup-python
X Title: Suppress warnings during Python installation · Issue #513 · actions/setup-python
Description: Description: Have an option to suppress warnings during Python installation. Justification: I'm using self-hosted runners in EC2 and I have constantly the WARNING: Running pip as the 'root' user can result in broken permissions and confl...
Open Graph Description: Description: Have an option to suppress warnings during Python installation. Justification: I'm using self-hosted runners in EC2 and I have constantly the WARNING: Running pip as the 'root' user ca...
X Description: Description: Have an option to suppress warnings during Python installation. Justification: I'm using self-hosted runners in EC2 and I have constantly the WARNING: Running pip as the 'root&...
Opengraph URL: https://github.com/actions/setup-python/issues/513
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suppress warnings during Python installation","articleBody":"\u003c!--- Please direct any generic questions related to actions to our support community forum at https://github.community/c/code-to-cloud/github-actions/41 ---\u003e\r\n\u003c!--- Before opening up a new feature request, please make sure to check for similar existing issues and pull requests --\u003e\r\n\r\n**Description:**\r\nHave an option to suppress warnings during Python installation.\r\n\r\n**Justification:**\r\nI'm using self-hosted runners in EC2 and I have constantly the `WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv` warning (which is capture by GitHub actions as an error). It would be nice to have an option to suppress these warnings so that these errors are not mixed up with the other warnings raised in the other steps.\r\n\r\n\r\n\r\n**Note:** It's also not possible for me to use a non-root user when running the workflow in the EC2 instance, as explained here: https://github.com/machulav/ec2-github-runner/issues/64#issuecomment-907688504.","author":{"url":"https://github.com/ssalmani-ledger","@type":"Person","name":"ssalmani-ledger"},"datePublished":"2022-09-30T03:12:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/513/setup-python/issues/513"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1087e903-6be7-d0c6-a83b-b2c88789d5c5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7A2:2728FC:3AEA76:50066C:69696ADB |
| html-safe-nonce | 49aea14f93878589b1c49b20ba2a9ede13be6a29378ccba75f955cf9ba8fdfeb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0EyOjI3MjhGQzozQUVBNzY6NTAwNjZDOjY5Njk2QURCIiwidmlzaXRvcl9pZCI6Ijg4MTcxMzIyMTMzMzM3NDg0NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b1d3414a3375333016fee5116c72fd6c9a9e6e31da9641b5617c8c2b9ba9fb39 |
| hovercard-subject-tag | issue:1391757197 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/setup-python/513/issue_layout |
| twitter:image | https://opengraph.githubassets.com/edceede1cd261a8813386438b20989e2049e2ff140f85629d6c43da5d1f8e61c/actions/setup-python/issues/513 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/edceede1cd261a8813386438b20989e2049e2ff140f85629d6c43da5d1f8e61c/actions/setup-python/issues/513 |
| og:image:alt | Description: Have an option to suppress warnings during Python installation. Justification: I'm using self-hosted runners in EC2 and I have constantly the WARNING: Running pip as the 'root' user ca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ssalmani-ledger |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/setup-python git https://github.com/actions/setup-python.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 192625525 |
| octolytics-dimension-repository_nwo | actions/setup-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 192625525 |
| octolytics-dimension-repository_network_root_nwo | actions/setup-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width