Title: SyntaxError while setting up Python dependencies · Issue #375 · github/codeql-action · GitHub
Open Graph Title: SyntaxError while setting up Python dependencies · Issue #375 · github/codeql-action
X Title: SyntaxError while setting up Python dependencies · Issue #375 · github/codeql-action
Description: Since a couple of days (?), I'm seeing this in my runs: Setup Python dependencies /home/runner/work/_actions/github/codeql-action/v1/python-setup/install_tools.sh [...] + + curl --location --fail https://bootstrap.pypa.io/get-pip.py + co...
Open Graph Description: Since a couple of days (?), I'm seeing this in my runs: Setup Python dependencies /home/runner/work/_actions/github/codeql-action/v1/python-setup/install_tools.sh [...] + + curl --location --fail h...
X Description: Since a couple of days (?), I'm seeing this in my runs: Setup Python dependencies /home/runner/work/_actions/github/codeql-action/v1/python-setup/install_tools.sh [...] + + curl --location --fa...
Opengraph URL: https://github.com/github/codeql-action/issues/375
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SyntaxError while setting up Python dependencies","articleBody":"Since a couple of days (?), I'm [seeing this](https://github.com/qutebrowser/qutebrowser/runs/1769782535?check_suite_focus=true) in my runs:\r\n\r\n```\r\nSetup Python dependencies\r\n /home/runner/work/_actions/github/codeql-action/v1/python-setup/install_tools.sh\r\n[...]\r\n + \r\n + curl --location --fail https://bootstrap.pypa.io/get-pip.py\r\n + command -v python2\r\n /usr/bin/python2\r\n + python2\r\n % Total % Received % Xferd Average Speed Time Time Time Current\r\n Dload Upload Total Spent Left Speed\r\n \r\n 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r\n 100 1883k 100 1883k 0 0 3327k 0 --:--:-- --:--:-- --:--:-- 3327k\r\n Traceback (most recent call last):\r\n File \"\u003cstdin\u003e\", line 24226, in \u003cmodule\u003e\r\n File \"\u003cstdin\u003e\", line 199, in main\r\n File \"\u003cstdin\u003e\", line 82, in bootstrap\r\n File \"/tmp/tmpSl4FBD/pip.zip/pip/_internal/cli/main.py\", line 60\r\n sys.stderr.write(f\"ERROR: {exc}\")\r\n ^\r\n SyntaxError: invalid syntax\r\nWarning: Unable to download and extract the tools needed for installing the python dependencies. You can call this action with 'setup-python-dependencies: false' to disable this process.\r\n```\r\n\r\nThis is probably due to [pip dropping support for Python 2](https://pip.pypa.io/en/stable/news/#id1) recently.\r\n\r\nGiven that Python 2 support [seems to be optional](https://github.com/github/codeql-action/blob/main/python-setup/install_tools.sh#L31-L39), maybe it'd be a good time to drop it, given that Python 2 [has been declared end-of-life](https://www.python.org/doc/sunset-python-2/) over a year ago?\r\n","author":{"url":"https://github.com/The-Compiler","@type":"Person","name":"The-Compiler"},"datePublished":"2021-01-26T14:51:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/375/codeql-action/issues/375"}
| 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:3d75ef09-8a7c-906d-c13c-35f20a192029 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A416:348621:11D6987:180C48D:6A544E3B |
| html-safe-nonce | f78ec27dda5dbf7166ef42d52b253361837885211b83c642df2c9c0975feebd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDE2OjM0ODYyMToxMUQ2OTg3OjE4MEM0OEQ6NkE1NDRFM0IiLCJ2aXNpdG9yX2lkIjoiNzU5MDc5MjI3NTc5MTQ2NjA0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cee613ffa85d0fc04ac0aec11ebcc48cadc7a7f37d61a228ec495aee69b61932 |
| hovercard-subject-tag | issue:794293776 |
| github-keyboard-shortcuts | repository,issues,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/github/codeql-action/375/issue_layout |
| twitter:image | https://opengraph.githubassets.com/baf10197547379e82567f3270f687ae09ca98de864ba5dd9910fe5ae45f8413d/github/codeql-action/issues/375 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/baf10197547379e82567f3270f687ae09ca98de864ba5dd9910fe5ae45f8413d/github/codeql-action/issues/375 |
| og:image:alt | Since a couple of days (?), I'm seeing this in my runs: Setup Python dependencies /home/runner/work/_actions/github/codeql-action/v1/python-setup/install_tools.sh [...] + + curl --location --fail h... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | The-Compiler |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width