| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ed79f203-aac1-a74c-97dc-f048ff0ca89b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A9BA:23CDC6:442A48:5C7FB7:69696CC0 |
| html-safe-nonce | d6d9c8c05a3d3fc850091f447f0249b8397c6bc26d62e06c4816a220182177e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUJBOjIzQ0RDNjo0NDJBNDg6NUM3RkI3OjY5Njk2Q0MwIiwidmlzaXRvcl9pZCI6Ijk5NDg5ODU0NDE4MDE2MTcyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 99ff0bdefa42a99bef25c7a840a85d0446b59f15786ad05ea6a7180c7dd60707 |
| hovercard-subject-tag | pull_request:1359849008 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/actions/setup-python/pull/669/files |
| twitter:image | https://avatars.githubusercontent.com/u/48800335?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/48800335?s=400&v=4 |
| og:image:alt | Hi, I'm Dario, a tech PO at hiop.
Description:
This PR enables the action to read the Python version from the pyproject.toml file (or another TOML file if specified) both for standard python (P... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| 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 | ec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/actions/setup-python/pull/669/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-python%2Fpull%2F669%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-python%2Fpull%2F669%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=actions%2Fsetup-python |
| Reload | https://github.com/actions/setup-python/pull/669/files |
| Reload | https://github.com/actions/setup-python/pull/669/files |
| Reload | https://github.com/actions/setup-python/pull/669/files |
|
actions
| https://github.com/actions |
| setup-python | https://github.com/actions/setup-python |
|
Notifications
| https://github.com/login?return_to=%2Factions%2Fsetup-python |
|
Fork
692
| https://github.com/login?return_to=%2Factions%2Fsetup-python |
|
Star
2.1k
| https://github.com/login?return_to=%2Factions%2Fsetup-python |
|
Code
| https://github.com/actions/setup-python |
|
Issues
39
| https://github.com/actions/setup-python/issues |
|
Pull requests
36
| https://github.com/actions/setup-python/pulls |
|
Actions
| https://github.com/actions/setup-python/actions |
|
Projects
0
| https://github.com/actions/setup-python/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/actions/setup-python/security |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
|
Insights
| https://github.com/actions/setup-python/pulse |
|
Code
| https://github.com/actions/setup-python |
|
Issues
| https://github.com/actions/setup-python/issues |
|
Pull requests
| https://github.com/actions/setup-python/pulls |
|
Actions
| https://github.com/actions/setup-python/actions |
|
Projects
| https://github.com/actions/setup-python/projects |
|
Security
| https://github.com/actions/setup-python/security |
|
Insights
| https://github.com/actions/setup-python/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Factions%2Fsetup-python%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Factions%2Fsetup-python%2Fissues%2Fnew%2Fchoose |
| dmitry-shibanov | https://github.com/dmitry-shibanov |
| actions:main | https://github.com/actions/setup-python/tree/main |
|
Conversation
30
| https://github.com/actions/setup-python/pull/669 |
|
Commits
8
| https://github.com/actions/setup-python/pull/669/commits |
|
Checks
0
| https://github.com/actions/setup-python/pull/669/checks |
|
Files changed
| https://github.com/actions/setup-python/pull/669/files |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
|
Read python version from pyproject.toml (fix #542)
| https://github.com/actions/setup-python/pull/669/files#top |
|
Show all changes
8 commits
| https://github.com/actions/setup-python/pull/669/files |
|
0422415
Add TOML dependency
dariocurr Jun 6, 2023
| https://github.com/actions/setup-python/pull/669/commits/0422415e8a74fb04f6e3ba3c6a254129f4039ebb |
|
c242fc9
Add examples for version ranges and pyproject.toml
dariocurr Jun 6, 2023
| https://github.com/actions/setup-python/pull/669/commits/c242fc955108229d5836c5624c30346a53e624db |
|
e1bb6df
Add tests for python version files
dariocurr Jun 6, 2023
| https://github.com/actions/setup-python/pull/669/commits/e1bb6df076bcf39164185e7f5f9570f0731a8854 |
|
3e4f089
Add tests for python version files
dariocurr Jun 6, 2023
| https://github.com/actions/setup-python/pull/669/commits/3e4f08959a279d30b447fcfb8f4a142fd8a3b98e |
|
5fe4cfd
Add utils to extract python version from files
dariocurr Jun 6, 2023
| https://github.com/actions/setup-python/pull/669/commits/5fe4cfd090d948303242f3a53b54834ec54fdb05 |
|
6f8266d
Replace toml with @iarna/toml
dariocurr Jun 11, 2023
| https://github.com/actions/setup-python/pull/669/commits/6f8266d242a075e81d1967d6165cd0af7e56d049 |
|
556ac3e
Remove pyproject.toml from default values
dariocurr Jun 27, 2023
| https://github.com/actions/setup-python/pull/669/commits/556ac3e0adad9f58a4aba5e0e5500b88dc997496 |
|
c4ab19b
Allow python version bounds just with TOMLs
dariocurr Jun 28, 2023
| https://github.com/actions/setup-python/pull/669/commits/c4ab19b63a2a7f1f5449c385292e7ce0b8010530 |
|
Clear filters
| https://github.com/actions/setup-python/pull/669/files |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
|
e2e-tests.yml
| https://github.com/actions/setup-python/pull/669/files#diff-194218c48b9a0cdd03974145733804c2d992ca818529fe2fa69a501d8b5b1cc3 |
|
test-python.yml
| https://github.com/actions/setup-python/pull/669/files#diff-70450661fa435b39492aab8bf651281084183f36f0a59598f05fec2b4523204b |
|
toml.dep.yml
| https://github.com/actions/setup-python/pull/669/files#diff-7c07eaf2bb23d4fd78816cac031fd7d6277d9a1729ea90f362ec079d0f332f50 |
|
utils.test.ts
| https://github.com/actions/setup-python/pull/669/files#diff-9f2fb172b8d9503044ee436e37d9b204964fabb3b8cd9d1adf2827e8618e26b2 |
|
index.js
| https://github.com/actions/setup-python/pull/669/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91 |
|
advanced-usage.md
| https://github.com/actions/setup-python/pull/669/files#diff-e8f077830705686ec3300dbcec8ee6ac6345ae9a2965508ff3abc4146d520bf8 |
|
package-lock.json
| https://github.com/actions/setup-python/pull/669/files#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519 |
|
package.json
| https://github.com/actions/setup-python/pull/669/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519 |
|
setup-python.ts
| https://github.com/actions/setup-python/pull/669/files#diff-0ac8bdebd0ca13af3640499ecf1203abc825161011f13f9ca45c734bfe80128e |
|
utils.ts
| https://github.com/actions/setup-python/pull/669/files#diff-39b2554fd18da165b59a6351b1aafff3714e2a80c1435f2de9706355b4d32351 |
|
| https://github.com/actions/setup-python/blob/main/.github/CODEOWNERS#L1 |
| .github/workflows/e2e-tests.yml | https://github.com/actions/setup-python/pull/669/files#diff-194218c48b9a0cdd03974145733804c2d992ca818529fe2fa69a501d8b5b1cc3 |
|
View file
| https://github.com/actions/setup-python/blob/c4ab19b63a2a7f1f5449c385292e7ce0b8010530/.github/workflows/e2e-tests.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/actions/setup-python/pull/669/{{ revealButtonHref }} |
|
| https://github.com/actions/setup-python/pull/669/files#diff-194218c48b9a0cdd03974145733804c2d992ca818529fe2fa69a501d8b5b1cc3 |
| dmitry-shibanov | https://github.com/dmitry-shibanov |
| Jun 19, 2023 | https://github.com/actions/setup-python/pull/669/files#r1234284438 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
| dariocurr | https://github.com/dariocurr |
| Jun 21, 2023 | https://github.com/actions/setup-python/pull/669/files#r1237256756 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
| dariocurr | https://github.com/dariocurr |
| Jun 23, 2023 | https://github.com/actions/setup-python/pull/669/files#r1239848303 |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
| dmitry-shibanov | https://github.com/dmitry-shibanov |
| Jun 23, 2023 | https://github.com/actions/setup-python/pull/669/files#r1239914499 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
| dariocurr | https://github.com/dariocurr |
| Jun 23, 2023 | https://github.com/actions/setup-python/pull/669/files#r1239974816 |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| semver | https://www.npmjs.com/package/semver |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
| dmitry-shibanov | https://github.com/dmitry-shibanov |
| Jun 27, 2023 | https://github.com/actions/setup-python/pull/669/files#r1243359102 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @dariocurr | https://github.com/dariocurr |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
| dariocurr | https://github.com/dariocurr |
| Jun 27, 2023 | https://github.com/actions/setup-python/pull/669/files#r1243405882 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://private-user-images.githubusercontent.com/48800335/249098598-fb791689-8715-4e86-ad01-474af2dfe849.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njg1MTcxMDEsIm5iZiI6MTc2ODUxNjgwMSwicGF0aCI6Ii80ODgwMDMzNS8yNDkwOTg1OTgtZmI3OTE2ODktODcxNS00ZTg2LWFkMDEtNDc0YWYyZGZlODQ5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTE1VDIyNDAwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3MTNjMGM5ZmUzOTYzNzE3OWM3Y2I4YTYxNzA1ODBlMDY1ODEwOWU4ODI5YWNiYmFhYjA2NmRhYjcxMmE1YTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.bG5WxJPQ9zQ_HCklyIs74xDfL8RcAXuzxCWPJlfxr-Q |
| https://github.com/dariocurr/setup-python/blob/6f8266d242a075e81d1967d6165cd0af7e56d049/src/setup-python.ts#L73 | https://github.com/dariocurr/setup-python/blob/6f8266d242a075e81d1967d6165cd0af7e56d049/src/setup-python.ts#L73 |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
| dmitry-shibanov | https://github.com/dmitry-shibanov |
| Jun 27, 2023 | https://github.com/actions/setup-python/pull/669/files#r1243574284 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
| dariocurr | https://github.com/dariocurr |
| Jun 28, 2023 | https://github.com/actions/setup-python/pull/669/files#r1244827605 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 39c1ae5 | https://github.com/actions/setup-python/commit/39c1ae56adb41c60f0c11535e5a7a1b0329d3c7f |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
|
| https://github.com/actions/setup-python/blob/main/.github/CODEOWNERS#L1 |
| .github/workflows/test-python.yml | https://github.com/actions/setup-python/pull/669/files#diff-70450661fa435b39492aab8bf651281084183f36f0a59598f05fec2b4523204b |
|
View file
| https://github.com/actions/setup-python/blob/c4ab19b63a2a7f1f5449c385292e7ce0b8010530/.github/workflows/test-python.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/actions/setup-python/pull/669/{{ revealButtonHref }} |
|
| https://github.com/actions/setup-python/pull/669/files#diff-70450661fa435b39492aab8bf651281084183f36f0a59598f05fec2b4523204b |
|
| https://github.com/actions/setup-python/pull/669/files#diff-70450661fa435b39492aab8bf651281084183f36f0a59598f05fec2b4523204b |
|
| https://github.com/actions/setup-python/blob/main/.github/CODEOWNERS#L1 |
| .licenses/npm/@iarna/toml.dep.yml | https://github.com/actions/setup-python/pull/669/files#diff-7c07eaf2bb23d4fd78816cac031fd7d6277d9a1729ea90f362ec079d0f332f50 |
|
View file
| https://github.com/actions/setup-python/blob/c4ab19b63a2a7f1f5449c385292e7ce0b8010530/.licenses/npm/%40iarna/toml.dep.yml |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
|
| https://github.com/actions/setup-python/blob/main/.github/CODEOWNERS#L1 |
| __tests__/utils.test.ts | https://github.com/actions/setup-python/pull/669/files#diff-9f2fb172b8d9503044ee436e37d9b204964fabb3b8cd9d1adf2827e8618e26b2 |
|
View file
| https://github.com/actions/setup-python/blob/c4ab19b63a2a7f1f5449c385292e7ce0b8010530/__tests__/utils.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/actions/setup-python/pull/669/{{ revealButtonHref }} |
|
| https://github.com/actions/setup-python/pull/669/files#diff-9f2fb172b8d9503044ee436e37d9b204964fabb3b8cd9d1adf2827e8618e26b2 |
|
| https://github.com/actions/setup-python/pull/669/files#diff-9f2fb172b8d9503044ee436e37d9b204964fabb3b8cd9d1adf2827e8618e26b2 |
| Please reload this page | https://github.com/actions/setup-python/pull/669/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |