Title: Trim trailing space from discovered Python versions. by apg · Pull Request #663 · actions/setup-python · GitHub
Open Graph Title: Trim trailing space from discovered Python versions. by apg · Pull Request #663 · actions/setup-python
X Title: Trim trailing space from discovered Python versions. by apg · Pull Request #663 · actions/setup-python
Description: Description: The setup-python action failed because my .python-version (generated from a recent pyenv) had a trailing newline (not sure if this is a bug in pyenv, but I'll look there next). Installed versions Version 3.11.3 was not found in the local cache Error: The version '3.11.3 ' with architecture 'x64' was not found for Ubuntu 18.04. The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json As you can see, the version was not discovered because the newline didn't match exactly. The way I figure, even if this is user error, stripping trailing space is super easy, and will probably prevent some problems. Related issue: Add link to the related issue. Check list: Mark if documentation changes are required. Mark if tests were added or updated to cover the changes.
Open Graph Description: Description: The setup-python action failed because my .python-version (generated from a recent pyenv) had a trailing newline (not sure if this is a bug in pyenv, but I'll look there next). Ins...
X Description: Description: The setup-python action failed because my .python-version (generated from a recent pyenv) had a trailing newline (not sure if this is a bug in pyenv, but I'll look there next)....
Opengraph URL: https://github.com/actions/setup-python/pull/663
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:dec56c6d-f79e-afb7-9dea-488fe25893f2 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | B8C8:249571:B35EF8:F138A8:696982B2 |
| html-safe-nonce | 88655ad4c0f1d118b084ac4a69d681909b652eaf3db7124525d4d658b5206847 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEM4OjI0OTU3MTpCMzVFRjg6RjEzOEE4OjY5Njk4MkIyIiwidmlzaXRvcl9pZCI6IjUwNTUyNDEwMDIzODk0MzkxNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c5b55c75b54849d64f5007ba360164f0d540045af2744190fec863fd9d3be122 |
| hovercard-subject-tag | pull_request:1344066861 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/actions/setup-python/pull/663/checks |
| twitter:image | https://avatars.githubusercontent.com/u/44547?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/44547?s=400&v=4 |
| og:image:alt | Description: The setup-python action failed because my .python-version (generated from a recent pyenv) had a trailing newline (not sure if this is a bug in pyenv, but I'll look there next). Ins... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f33e4b94c8824ab2b434d82a94139432fb5ebee9df4b75304140ad22508c4a77 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 48f380098b30acbb700b04f1724481ca10d574fc |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width