Commit graph

500 commits

Author SHA1 Message Date
Aparna Jyothi
72dc4ca661 update 2025-06-10 17:57:43 +05:30
Aparna Jyothi
d02a110da5 update 2025-06-10 17:55:21 +05:30
Aparna Jyothi
550be3670a update 2025-06-10 17:29:47 +05:30
Aparna Jyothi
1ab3383e4f update 2025-06-10 14:28:44 +05:30
Aparna Jyothi
6a1a4482ac update 2025-06-10 14:18:03 +05:30
Aparna Jyothi
98eca37c22 update 2025-06-10 14:14:28 +05:30
Aparna Jyothi
62b9a91149 update 2025-06-10 14:07:01 +05:30
Aparna Jyothi
d917d21067 update 2025-06-10 13:04:54 +05:30
Aparna Jyothi
aba971c3a3 update test 2025-06-10 13:02:45 +05:30
Aparna Jyothi
0e3ceedf0d update test 2025-06-10 13:01:12 +05:30
Aparna Jyothi
c48590770f update the job 2025-06-10 12:49:50 +05:30
Aparna Jyothi
d5733d0259 fix error 2025-06-10 12:43:06 +05:30
Aparna Jyothi
25cabaaf34 update test 2025-06-10 12:41:21 +05:30
Aparna Jyothi
a14e4fdb8d file update 2025-06-06 18:32:56 +05:30
Aparna Jyothi
53228cb9bd logic update 2025-06-06 18:26:51 +05:30
Aparna Jyothi
b22fe06733 logic update 2025-06-06 18:24:20 +05:30
Aparna Jyothi
32a58a97ef polished the error message 2025-06-05 18:36:20 +05:30
Aparna Jyothi
b26f6d02db Added architecture validation validated for freethreaded related inputs 2025-06-05 17:14:53 +05:30
Aparna Jyothi
9d11fda211 update the logic to allow x86-freethreaded, arm64-freethreaded, x64-freethreaded inputs also 2025-06-05 12:30:47 +05:30
Aparna Jyothi
3d7ca5fea2 updated code logic for arm64 2025-05-09 17:41:53 +05:30
Aparna Jyothi
0b865b97c9 code update for freethreaded 2025-05-02 18:27:28 +05:30
Aparna Jyothi
404bd3b57d update the logic 2025-04-30 18:15:24 +05:30
Aparna Jyothi
c614f62548 resolve conflicts 2025-04-28 19:05:57 +05:30
Aparna Jyothi
114b4684b8 code update for free threaded 2025-04-28 15:49:13 +05:30
Aparna Jyothi
68111ac40e Merge remote-tracking branch 'origin/main' into update-install-path 2025-04-22 12:55:30 +05:30
Aparna Jyothi
1df3e3315a logic update 2025-04-22 12:38:37 +05:30
Aparna Jyothi
4260a613f9 update the logic for free threaded also 2025-04-22 12:08:20 +05:30
aparnajyothi-y
358da85d3a Fix for Candidate Not Iterable Error (#1082)
* candidates not iterable

* update the error message

* update error to debug

* update debug to info

* error message updates
2025-04-22 11:39:21 +05:30
aparnajyothi-y
56f2fac840 Remove Ubuntu 20.04 from workflows due to deprecation from 2025-04-15 (#1065)
* remove ubuntu-20.04

* check failure fix

* remove spaces

* npm run format-check
2025-04-22 11:39:21 +05:30
priya-kinthali
12c4557988 Add e2e Testing for free threaded and Bump @action/cache from 4.0.0 to 4.0.3 (#1056)
* include freethread e2e testing and upgrade cache from 4.0.0 to 4.0.2

* include verify gil step and validated python version

* Rename files

* include ubuntu-arm runners for testing
2025-04-22 11:39:21 +05:30
mahabaleshwars
0704aafc8a Add support for .tool-versions file in setup-python (#1043)
* add support for .tool-versions file

* update regex

* optimize code

* update test-python.yml for .tool-versions

* fix format-check errors

* fix formatting in test-python.yml

* Fix test-python.yml error

* workflow update with latest versions

* update test cases

* fix lint issue
2025-04-22 11:39:21 +05:30
dependabot[bot]
6a3303143f Bump @actions/glob from 0.4.0 to 0.5.0 (#1015)
* Bump @actions/glob from 0.4.0 to 0.5.0

Bumps [@actions/glob](https://github.com/actions/toolkit/tree/HEAD/packages/glob) from 0.4.0 to 0.5.0.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/glob/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/glob)

---
updated-dependencies:
- dependency-name: "@actions/glob"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix for check failures

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2025-04-22 11:39:21 +05:30
Sam Gross
72794c8293 Support free threaded Python versions like '3.13t' (#973)
* Support free threaded Python versions like '3.13t'

Python wheels, pyenv, and a number of other tools use 't' in the Python
version number to identify free threaded builds. For example, '3.13t',
'3.14.0a1', '3.14t-dev'.

This PR supports that syntax in `actions/setup-python`, strips the "t",
and adds "-freethreading" to the architecture to select the correct
Python version.

See #771

* Add free threading to advanced usage documentation

* Fix desugaring of `3.13.1t` and add test case.

* Add freethreaded input and fix handling of prerelease versions

* Fix lint

* Add 't' suffix to python-version output

* Use distinct cache key for free threaded Python

* Remove support for syntax like '3.14.0a1'

* Clarify use of 't' suffix

* Improve error message when trying to use free threaded Python versions before 3.13
2025-04-22 11:39:20 +05:30
aparnajyothi-y
6ed2c67c8a
Fix for Candidate Not Iterable Error (#1082)
Some checks failed
Validate Python e2e / Setup 3.13.2 macos-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 macos-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-22.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-22.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-22.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.2 ubuntu-22.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-22.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-22.04-arm poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-22.04-arm poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-22.04-arm poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.2 ubuntu-22.04-arm poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-22.04-arm poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-24.04-arm poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-24.04-arm poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-24.04-arm poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.2 ubuntu-24.04-arm poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-24.04-arm poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.2 ubuntu-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 windows-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 windows-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 windows-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.2 windows-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 windows-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.2 macos-13 .tool-versions file (push) Has been cancelled
Validate Python e2e / Setup 3.14-dev macos-13 .tool-versions file (push) Has been cancelled
Validate Python e2e / Setup graalpy-24.1.2 macos-13 .tool-versions file (push) Has been cancelled
* candidates not iterable

* update the error message

* update error to debug

* update debug to info

* error message updates
2025-04-17 08:55:44 -05:00
aparnajyothi-y
e348410e00
Remove Ubuntu 20.04 from workflows due to deprecation from 2025-04-15 (#1065)
Some checks failed
Validate Python e2e / check-latest (ubuntu-22.04, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04-arm, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04-arm, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04-arm, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04-arm, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04-arm, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-24.04-arm, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-24.04-arm, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-24.04-arm, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-24.04-arm, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-24.04-arm, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.9) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-13) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-22.04) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-22.04-arm) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-24.04-arm) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (windows-latest) (push) Has been cancelled
* remove ubuntu-20.04

* check failure fix

* remove spaces

* npm run format-check
2025-04-11 13:36:23 -05:00
Aparna Jyothi
da4451310f update the install path for free-threaded 2025-03-25 11:05:31 +05:30
Aparna Jyothi
feb0ff9aba update-install-path-freethreaded 2025-03-25 10:39:20 +05:30
priya-kinthali
8d9ed9ac5c
Add e2e Testing for free threaded and Bump @action/cache from 4.0.0 to 4.0.3 (#1056)
Some checks failed
Validate Python e2e / check-latest (ubuntu-22.04, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04-arm, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04-arm, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04-arm, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04-arm, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-22.04-arm, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-24.04-arm, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-24.04-arm, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-24.04-arm, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-24.04-arm, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-24.04-arm, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.9) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-13) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-22.04) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-22.04-arm) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-24.04-arm) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (windows-latest) (push) Has been cancelled
* include freethread e2e testing and upgrade cache from 4.0.0 to 4.0.2

* include verify gil step and validated python version

* Rename files

* include ubuntu-arm runners for testing
2025-03-24 11:19:17 -05:00
mahabaleshwars
19e4675e06
Add support for .tool-versions file in setup-python (#1043)
Some checks failed
Validate Python e2e / Setup 3.9 ubuntu-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.10 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.11 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.12 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.13 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.9 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.9) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-13) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (windows-latest) (push) Has been cancelled
* add support for .tool-versions file

* update regex

* optimize code

* update test-python.yml for .tool-versions

* fix format-check errors

* fix formatting in test-python.yml

* Fix test-python.yml error

* workflow update with latest versions

* update test cases

* fix lint issue
2025-03-13 10:21:27 -05:00
dependabot[bot]
6fd11e170a
Bump @actions/glob from 0.4.0 to 0.5.0 (#1015)
Some checks are pending
Validate Python e2e / Setup 3.9 ubuntu-latest (noenv) (push) Waiting to run
Validate Python e2e / Setup 3.10 windows-latest (noenv) (push) Waiting to run
Validate Python e2e / Setup 3.11 windows-latest (noenv) (push) Waiting to run
Validate Python e2e / Setup 3.12 windows-latest (noenv) (push) Waiting to run
Validate Python e2e / Setup 3.13 windows-latest (noenv) (push) Waiting to run
Validate Python e2e / Setup 3.9 windows-latest (noenv) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.11) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.12) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.13) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.9) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.11) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.12) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.13) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.9) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.11) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.12) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.13) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.9) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.11) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.12) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.13) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.9) (push) Waiting to run
Validate Python e2e / setup-python-multiple-python-versions (macos-13) (push) Waiting to run
Validate Python e2e / setup-python-multiple-python-versions (macos-latest) (push) Waiting to run
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Waiting to run
Validate Python e2e / setup-python-multiple-python-versions (windows-latest) (push) Waiting to run
* Bump @actions/glob from 0.4.0 to 0.5.0

Bumps [@actions/glob](https://github.com/actions/toolkit/tree/HEAD/packages/glob) from 0.4.0 to 0.5.0.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/glob/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/glob)

---
updated-dependencies:
- dependency-name: "@actions/glob"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix for check failures

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2025-03-12 12:00:26 -05:00
Sam Gross
9e62be81b2
Support free threaded Python versions like '3.13t' (#973)
Some checks failed
Validate Python e2e / Setup 3.11.9 ubuntu-20.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-20.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-20.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-20.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-22.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-22.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-22.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-22.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-22.04 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 windows-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 windows-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 windows-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 windows-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 windows-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.14.0-alpha.1 macos-13 (push) Has been cancelled
Validate Python e2e / Setup 3.14.0-alpha.1 macos-latest (push) Has been cancelled
Validate Python e2e / Setup 3.14.0-alpha.1 ubuntu-20.04 (push) Has been cancelled
Validate Python e2e / Setup 3.14.0-alpha.1 ubuntu-22.04 (push) Has been cancelled
Validate Python e2e / Setup 3.14.0-alpha.1 ubuntu-latest (push) Has been cancelled
Validate Python e2e / Setup 3.14.0-alpha.1 windows-latest (push) Has been cancelled
Validate Python e2e / Setup 3.14-dev macos-13 (push) Has been cancelled
Validate Python e2e / Setup 3.14-dev macos-latest (push) Has been cancelled
Validate Python e2e / Setup 3.14-dev ubuntu-latest (push) Has been cancelled
Validate Python e2e / Setup 3.14-dev windows-latest (push) Has been cancelled
Validate Python e2e / Setup 3.14 macos-13 (push) Has been cancelled
* Support free threaded Python versions like '3.13t'

Python wheels, pyenv, and a number of other tools use 't' in the Python
version number to identify free threaded builds. For example, '3.13t',
'3.14.0a1', '3.14t-dev'.

This PR supports that syntax in `actions/setup-python`, strips the "t",
and adds "-freethreading" to the architecture to select the correct
Python version.

See #771

* Add free threading to advanced usage documentation

* Fix desugaring of `3.13.1t` and add test case.

* Add freethreaded input and fix handling of prerelease versions

* Fix lint

* Add 't' suffix to python-version output

* Use distinct cache key for free threaded Python

* Remove support for syntax like '3.14.0a1'

* Clarify use of 't' suffix

* Improve error message when trying to use free threaded Python versions before 3.13
2025-03-04 16:49:43 -06:00
Aparna Jyothi
bd89e34f27 update-install path --user flag for x86 for >=3.10 2025-02-19 18:42:54 +05:30
dependabot[bot]
6ca8e8598f
Bump @vercel/ncc from 0.38.1 to 0.38.3 (#1016)
Some checks failed
Validate Python e2e / Setup 3.9 ubuntu-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.10 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.11 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.12 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.13 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.9 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.9) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-13) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (windows-latest) (push) Has been cancelled
* Bump @vercel/ncc from 0.38.1 to 0.38.3

Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.38.1 to 0.38.3.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](https://github.com/vercel/ncc/compare/0.38.1...0.38.3)

---
updated-dependencies:
- dependency-name: "@vercel/ncc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* check failure fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2025-02-18 15:23:52 -06:00
Matthieu Darbois
8039c45ed9
fix: install PyPy on Linux ARM64 (#1011)
Some checks failed
Validate Python e2e / Setup 3.9 ubuntu-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.10 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.11 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.12 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.13 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.9 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.9) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-13) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (windows-latest) (push) Has been cancelled
* ci: check non-eol versions of PyPy are available on all runners

* fix: install PyPy on Linux ARM64

* ci: remove eol ubuntu-20.04
2025-02-05 13:58:38 -06:00
Stephen Karl Larroque
42375524e2
Improve Advanced Usage examples (#645)
Some checks failed
Validate Python e2e / Setup 3.9 ubuntu-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.10 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.11 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.12 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.13 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.9 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.9) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-13) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (windows-latest) (push) Has been cancelled
* docs: fix outputs python-version example and description

Description was lacking words, example was misleading (id was set to cp310 which clearly was a reference to CPython 3.10, but the id is referring to the setup-python action!

* docs: copy-editing in advanced-usage.md

Signed-off-by: Stephen L. <lrq3000@gmail.com>

* docs: add example if statement in advanced-usage.md

Signed-off-by: Stephen L. <lrq3000@gmail.com>

* docs: implement changes suggested by @mahabaleshwars (deprecate pypy2.7, 3.7, 3.8, tweak example, remove wildcard *)

Signed-off-by: Stephen L. <LRQ3000@gmail.com>

---------

Signed-off-by: Stephen L. <lrq3000@gmail.com>
Signed-off-by: Stephen L. <LRQ3000@gmail.com>
2025-01-27 13:04:33 -06:00
dependabot[bot]
709bfa58ba
Bump requests from 2.24.0 to 2.32.2 in /__tests__/data (#1019)
Bumps [requests](https://github.com/psf/requests) from 2.24.0 to 2.32.2.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.24.0...v2.32.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-27 13:01:28 -06:00
dependabot[bot]
ceb20b242d
Bump @actions/http-client from 2.2.1 to 2.2.3 (#1020)
* Bump @actions/http-client from 2.2.1 to 2.2.3

Bumps [@actions/http-client](https://github.com/actions/toolkit/tree/HEAD/packages/http-client) from 2.2.1 to 2.2.3.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/http-client/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/http-client)

---
updated-dependencies:
- dependency-name: "@actions/http-client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix for licensed and check-dist checks failures

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2025-01-27 13:00:34 -06:00
dependabot[bot]
0dc2d2cf0c
Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 (#1014)
Bumps [actions/publish-immutable-action](https://github.com/actions/publish-immutable-action) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/actions/publish-immutable-action/releases)
- [Commits](https://github.com/actions/publish-immutable-action/compare/0.0.3...v0.0.4)

---
updated-dependencies:
- dependency-name: actions/publish-immutable-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-27 12:05:51 -06:00
dependabot[bot]
feb9c6e7c6
Bump urllib3 from 1.25.9 to 1.26.19 in /__tests__/data (#895)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.9 to 1.26.19.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/1.26.19/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.9...1.26.19)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-27 12:04:31 -06:00
dependabot[bot]
d0b4fc497a
Bump undici from 5.28.4 to 5.28.5 (#1012)
Some checks failed
Validate Python e2e / Setup 3.9 ubuntu-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.10 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.11 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.12 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.13 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.9 windows-latest (noenv) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (macos-13, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (ubuntu-latest, 3.9) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.10) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.11) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.12) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.13) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.9) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-13) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (windows-latest) (push) Has been cancelled
* Bump undici from 5.28.4 to 5.28.5

Bumps [undici](https://github.com/nodejs/undici) from 5.28.4 to 5.28.5.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix for chec-dist and license check failures

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
2025-01-22 14:29:59 -06:00