1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-python synced 2025-03-14 22:26:58 +01:00
setup-python/src
Sam Gross 9e62be81b2
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-03-04 16:49:43 -06:00
..
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-03-04 16:49:43 -06:00
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 Fix: Add .zip extension to Windows package downloads for Expand-Archive Compatibility (#916) 2024-08-05 12:23:34 -05:00
setup-python.ts Support free threaded Python versions like '3.13t' (#973) 2025-03-04 16:49:43 -06:00
utils.ts Revise isGhes logic (#963) 2024-10-21 11:42:17 -05:00