Title: Trim python version when reading from file by FerranPares · Pull Request #628 · actions/setup-python · GitHub
Open Graph Title: Trim python version when reading from file by FerranPares · Pull Request #628 · actions/setup-python
X Title: Trim python version when reading from file by FerranPares · Pull Request #628 · actions/setup-python
Description: Description: Just adding a trim after reading the python version from .python-version file or similar, so even if that file contains a newline at the EOF, it will be properly parsed. It seems that python version const may include the newline when parsing from a file and avoid matching it the proper python version to install afterwards. Check list: Mark if documentation changes are required. Mark if tests were added or updated to cover the changes.
Open Graph Description: Description: Just adding a trim after reading the python version from .python-version file or similar, so even if that file contains a newline at the EOF, it will be properly parsed. It seems that ...
X Description: Description: Just adding a trim after reading the python version from .python-version file or similar, so even if that file contains a newline at the EOF, it will be properly parsed. It seems that ...
Opengraph URL: https://github.com/actions/setup-python/pull/628
X: @github
Domain: redirect.github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ded774c9-3572-04fc-3467-90d2126e270f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BC14:6FE17:1AA6479:2538E49:69692974 |
| html-safe-nonce | d655a35507e50d9c457f7b77bccd6ca28b65cf1049c91f6f81aa3f5321a64426 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzE0OjZGRTE3OjFBQTY0Nzk6MjUzOEU0OTo2OTY5Mjk3NCIsInZpc2l0b3JfaWQiOiIzOTQ4MDA4ODE0NDE2NTcwNzQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 299f2562227782fe594d167c8f836ee26e79792a82abf0123fe100f5be279569 |
| hovercard-subject-tag | pull_request:1278505495 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/628/files |
| twitter:image | https://avatars.githubusercontent.com/u/9196604?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9196604?s=400&v=4 |
| og:image:alt | Description: Just adding a trim after reading the python version from .python-version file or similar, so even if that file contains a newline at the EOF, it will be properly parsed. It seems that ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width