setup-python/src
Sam Gross 1080e2bd3d 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-03 16:33:07 +05:30
..
cache-distributions fix: add arch to cache key (#896) 2024-08-07 15:12:32 -05:00
cache-save.ts Update error message for no dependencies to cache (#968) 2024-11-04 19:27:40 -06:00
find-graalpy.ts Add GraalPy support (#694) 2023-10-10 14:59:54 +02:00
find-pypy.ts Add GraalPy support (#694) 2023-10-10 14:59:54 +02:00
find-python.ts Support free threaded Python versions like '3.13t' (#973) 2025-04-03 16:33:07 +05:30
install-graalpy.ts Update action to node20 (#772) 2023-12-05 14:52:09 +01:00
install-pypy.ts fix: install PyPy on Linux ARM64 (#1011) 2025-02-05 13:58:38 -06:00
install-python.ts handled candidate not iterable error 2025-02-28 18:32:38 +05:30
setup-python.ts Support free threaded Python versions like '3.13t' (#973) 2025-04-03 16:33:07 +05:30
utils.ts Revise isGhes logic (#963) 2024-10-21 11:42:17 -05:00