1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-python synced 2025-03-14 22:26:58 +01:00
setup-python/__tests__
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
..
data Bump requests from 2.24.0 to 2.32.2 in /__tests__/data (#1019) 2025-01-27 13:01:28 -06:00
cache-restore.test.ts Bump pyinstaller from 3.6 to 5.13.1 in /__tests__/data (#923) 2024-08-13 14:03:23 -05:00
cache-save.test.ts Add warning for empty cache paths (#642) 2023-04-06 12:02:34 +02:00
check-python-path.sh feature: add a python-path output 2022-05-24 21:02:03 +02:00
find-graalpy.test.ts Update action to node20 (#772) 2023-12-05 14:52:09 +01:00
find-pypy.test.ts Update action to node20 (#772) 2023-12-05 14:52:09 +01:00
find-python.test.ts Support free threaded Python versions like '3.13t' (#973) 2025-03-04 16:49:43 -06:00
finder.test.ts Support free threaded Python versions like '3.13t' (#973) 2025-03-04 16:49:43 -06:00
install-graalpy.test.ts Update action to node20 (#772) 2023-12-05 14:52:09 +01:00
install-pypy.test.ts Update action to node20 (#772) 2023-12-05 14:52:09 +01:00
install-python.test.ts feat: fallback to raw endpoint for manifest when rate limit is reached (#766) 2024-03-26 08:56:00 -05:00
test-pipenv.py Fix pipenv jobs (#699) 2023-07-13 14:11:40 +02:00
utils.test.ts Revise isGhes logic (#963) 2024-10-21 11:42:17 -05:00
verify-python.py Improve workflows (#88) 2020-05-01 18:52:58 +02:00