Support free threaded Python versions like '3.13t' (#973)
Some checks failed
Basic validation / Basic validation (push) Failing after 0s
Check dist/ / Check dist/ (push) Failing after 0s
CodeQL analysis / CodeQL analysis (push) Failing after 0s
Licensed / Licensed (push) Failing after 0s
Validate Python e2e / Setup 3.14 macos-latest (push) Has been cancelled
Validate Python e2e / Setup 3.14 ubuntu-latest (push) Has been cancelled
Validate Python e2e / Setup 3.14 windows-latest (push) Has been cancelled
Validate Python e2e / Setup 3.10 macos-13 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.11 macos-13 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.12 macos-13 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.13 macos-13 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.9 macos-13 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.10 macos-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.11 macos-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.12 macos-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.13 macos-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.9 macos-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.10 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.11 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.12 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.13 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.9 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.10 ubuntu-22.04 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.11 ubuntu-22.04 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.12 ubuntu-22.04 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.13 ubuntu-22.04 (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.9 ubuntu-22.04 (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7 ubuntu-20.04 (push) Has been cancelled
Validate Python e2e / Setup 3.10 ubuntu-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.11 ubuntu-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.12 ubuntu-latest (noenv) (push) Has been cancelled
Validate Python e2e / Setup 3.13 ubuntu-latest (noenv) (push) Has been cancelled
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.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
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, macos-13) (push) Has been cancelled
Validate Python e2e / check-latest (macos-latest, 3.12) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, macos-13) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, macos-13) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, macos-13) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, macos-13) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, macos-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, macos-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, macos-13) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.9, macos-13) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, macos-13, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, macos-13, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, macos-13, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, macos-13, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.9-v7.x, macos-13) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, macos-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.9, macos-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.9-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.9, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.9-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, windows-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.9, windows-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.9-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.10, macos-13) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.9, macos-13) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.10-v7.x, macos-13) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.9-v7.x, macos-13) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.10, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.9, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.10-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.9-v7.x, macos-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.10, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.9, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.10-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.9-v7.x, ubuntu-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.10, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python 3.9, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.10-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test poetry (Python pypy-3.9-v7.x, windows-latest) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, macos-13, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.9, macos-13, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, macos-13, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.9-v7.x, macos-13, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.9, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.9-v7.x, macos-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, ubuntu-latest, caching path) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.12) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.9, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.9-v7.x, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.10, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python 3.9, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.10-v7.x, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pipenv (Python pypy-3.9-v7.x, windows-latest, caching path) (push) Has been cancelled
Validate Python e2e / check-latest (windows-latest, 3.13) (push) Has been cancelled
e2e tests / Test setup-python (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-22.3 macos-13 (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-22.3 macos-latest (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-22.3 ubuntu-20.04 (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-22.3 ubuntu-latest (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.9-v7.x, ubuntu-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.10, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python 3.9, windows-latest, caching path) (push) Has been cancelled
e2e-cache / Test pip (Python pypy-3.10-v7.x, windows-latest, caching path) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-23.1 ubuntu-20.04 (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-23.1 ubuntu-latest (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-24.1 macos-13 (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-24.1 macos-latest (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-24.1 ubuntu-20.04 (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-24.1 ubuntu-latest (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy22.3 macos-13 (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy22.3 macos-latest (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy22.3 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy22.3 ubuntu-latest (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy23.0 macos-13 (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy23.0 macos-latest (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy23.0 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy23.0 ubuntu-latest (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy23.1 macos-13 (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy23.1 macos-latest (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy23.1 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy23.1 ubuntu-latest (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy24.1 macos-13 (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-23.0 macos-13 (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-23.0 macos-latest (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-23.0 ubuntu-20.04 (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-23.0 ubuntu-latest (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-23.1 macos-13 (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy-23.1 macos-latest (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy24.1 macos-latest (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy24.1 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy graalpy24.1 ubuntu-latest (noenv) (push) Has been cancelled
Validate GraalPy e2e / check-latest (macos-13) (push) Has been cancelled
Validate GraalPy e2e / check-latest (macos-latest) (push) Has been cancelled
Validate GraalPy e2e / check-latest (ubuntu-latest) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7 macos-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 PyPy e2e / Setup PyPy pypy-2.7-v7.3.12rc1 macos-13 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7-v7.3.17 macos-13 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10 macos-13 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-nightly macos-13 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.16 macos-13 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.17 macos-13 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.x macos-13 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.x macos-13 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.10-v7.3.17 macos-13 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.9 macos-13 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7 macos-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7-v7.3.12rc1 macos-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7-v7.3.17 macos-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10 macos-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-nightly macos-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.16 macos-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.17 macos-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.x macos-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.x macos-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.10-v7.3.17 macos-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.9 macos-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7 windows-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7-v7.3.12rc1 windows-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7-v7.3.17 windows-latest (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-2.7 on ubuntu-22.04 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-3.10 on ubuntu-22.04 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-2.7 on ubuntu-22.04-arm (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-3.10 on ubuntu-22.04-arm (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-2.7 on ubuntu-24.04 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-3.10 on ubuntu-24.04 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-2.7 on ubuntu-24.04-arm (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-3.10 on ubuntu-24.04-arm (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-2.7 on windows-2019 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-3.10 on windows-2019 (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (windows-latest) (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-2.7 on windows-2022 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-3.10 on windows-2022 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-2.7 on windows-2025 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7-v7.3.12rc1 ubuntu-20.04 (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (macos-latest) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7-v7.3.17 ubuntu-20.04 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10 ubuntu-20.04 (push) Has been cancelled
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-nightly ubuntu-20.04 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.16 ubuntu-20.04 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.17 ubuntu-20.04 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.x ubuntu-20.04 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.x ubuntu-20.04 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.10-v7.3.17 ubuntu-20.04 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.9 ubuntu-20.04 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7 ubuntu-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7-v7.3.12rc1 ubuntu-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7-v7.3.17 ubuntu-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10 ubuntu-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-nightly ubuntu-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.16 ubuntu-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.17 ubuntu-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.x ubuntu-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.x ubuntu-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.10-v7.3.17 ubuntu-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.9 ubuntu-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10 windows-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-nightly windows-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.16 windows-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.17 windows-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.3.x windows-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-3.10-v7.x windows-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.10-v7.3.17 windows-latest (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.9 windows-latest (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-2.7 on macos-13 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-3.10 on macos-13 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-2.7 on macos-14 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-3.10 on macos-14 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-2.7 on macos-15 (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-3.10 on macos-15 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy2.7 macos-13 (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.10-nightly macos-13 (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.9 macos-13 (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy2.7 macos-latest (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.10-nightly macos-latest (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.9 macos-latest (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy2.7 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.10-nightly ubuntu-20.04 (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.9 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy2.7 ubuntu-latest (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.10-nightly ubuntu-latest (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.9 ubuntu-latest (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy2.7 windows-latest (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.10-nightly windows-latest (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy3.9 windows-latest (noenv) (push) Has been cancelled
Validate PyPy e2e / Check non-eol pypy-3.10 on windows-2025 (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 macos-13 (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 macos-13 (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 macos-latest (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 macos-latest (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 macos-latest (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 macos-latest (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 macos-latest (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-20.04 (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-20.04 (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-20.04 (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-20.04 (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-20.04 (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-22.04 (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-22.04 (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-22.04 (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-22.04 (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-22.04 (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-latest (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-latest (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-latest (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-latest (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-latest (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 windows-latest (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 windows-latest (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 windows-latest (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 windows-latest (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 windows-latest (push) Has been cancelled
Validate PyPy e2e / check-latest (macos-13) (push) Has been cancelled
Validate PyPy e2e / check-latest (macos-latest) (push) Has been cancelled
Validate PyPy e2e / check-latest (ubuntu-latest) (push) Has been cancelled
Validate PyPy e2e / check-latest (windows-latest) (push) Has been cancelled
Validate PyPy e2e / setup-pypy-multiple-versions (macos-13) (push) Has been cancelled
Validate PyPy e2e / setup-pypy-multiple-versions (macos-latest) (push) Has been cancelled
Validate PyPy e2e / setup-pypy-multiple-versions (ubuntu-latest) (push) Has been cancelled
Validate PyPy e2e / setup-pypy-multiple-versions (windows-latest) (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 macos-13 (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 macos-13 (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 macos-13 (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-22.04 version file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-22.04 version file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-22.04 version file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-22.04 version file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 macos-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 macos-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 macos-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-20.04 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-20.04 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-20.04 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-22.04 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-22.04 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-22.04 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 macos-13 version file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 macos-13 version file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 macos-13 version file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 macos-13 version file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 macos-13 version file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 macos-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 macos-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 macos-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 macos-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 macos-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-20.04 version file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-20.04 version file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-20.04 version file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-20.04 version file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-20.04 version file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-22.04 version file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 windows-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 windows-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 windows-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 windows-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 windows-latest version file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 macos-13 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 macos-13 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 macos-13 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 macos-13 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 macos-13 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 macos-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 macos-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-20.04 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-20.04 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-22.04 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 macos-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 macos-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup ==3.12.3 macos-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-20.04 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-20.04 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-20.04 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-20.04 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup ==3.12.3 ubuntu-20.04 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-22.04 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-22.04 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-22.04 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-22.04 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup ==3.12.3 ubuntu-22.04 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.14.0-alpha.1 windows-latest (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-22.04 version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 ubuntu-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 ubuntu-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 ubuntu-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 ubuntu-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 windows-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 windows-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 windows-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 windows-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 windows-latest version file without parameter (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 macos-13 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 macos-13 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 macos-13 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 macos-13 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup ==3.12.3 macos-13 standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 macos-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 macos-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 ubuntu-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup ==3.12.3 ubuntu-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 windows-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 windows-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 windows-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 windows-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup ==3.12.3 windows-latest standard pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 macos-13 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 macos-13 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 macos-13 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 macos-13 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.9.13 macos-13 poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.10.11 macos-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.11.9 macos-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.12.3 macos-latest poetry pyproject file (push) Has been cancelled
Validate Python e2e / Setup 3.13.0 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-20.04 poetry pyproject file (push) Has been cancelled
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.14-dev macos-13 (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-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
This commit is contained in:
Sam Gross 2025-03-04 17:49:43 -05:00 committed by GitHub
parent 6ca8e8598f
commit 9e62be81b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 226 additions and 35 deletions

View file

@ -35,16 +35,28 @@ export async function useCpythonVersion(
architecture: string,
updateEnvironment: boolean,
checkLatest: boolean,
allowPreReleases: boolean
allowPreReleases: boolean,
freethreaded: boolean
): Promise<InstalledVersion> {
let manifest: tc.IToolRelease[] | null = null;
const desugaredVersionSpec = desugarDevVersion(version);
const {version: desugaredVersionSpec, freethreaded: versionFreethreaded} =
desugarVersion(version);
let semanticVersionSpec = pythonVersionToSemantic(
desugaredVersionSpec,
allowPreReleases
);
if (versionFreethreaded) {
// Use the freethreaded version if it was specified in the input, e.g., 3.13t
freethreaded = true;
}
core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);
if (freethreaded) {
// Free threaded versions use an architecture suffix like `x64-freethreaded`
core.debug(`Using freethreaded version of ${semanticVersionSpec}`);
architecture += '-freethreaded';
}
if (checkLatest) {
manifest = await installer.getManifest();
const resolvedVersion = (
@ -90,16 +102,22 @@ export async function useCpythonVersion(
if (!installDir) {
const osInfo = await getOSInfo();
throw new Error(
[
`The version '${version}' with architecture '${architecture}' was not found for ${
osInfo
? `${osInfo.osName} ${osInfo.osVersion}`
: 'this operating system'
}.`,
`The list of all available versions can be found here: ${installer.MANIFEST_URL}`
].join(os.EOL)
const msg = [
`The version '${version}' with architecture '${architecture}' was not found for ${
osInfo
? `${osInfo.osName} ${osInfo.osVersion}`
: 'this operating system'
}.`
];
if (freethreaded) {
msg.push(
`Free threaded versions are only available for Python 3.13.0 and later.`
);
}
msg.push(
`The list of all available versions can be found here: ${installer.MANIFEST_URL}`
);
throw new Error(msg.join(os.EOL));
}
const _binDir = binDir(installDir);
@ -153,10 +171,38 @@ export async function useCpythonVersion(
}
const installed = versionFromPath(installDir);
core.setOutput('python-version', installed);
let pythonVersion = installed;
if (freethreaded) {
// Add the freethreaded suffix to the version (e.g., 3.13.1t)
pythonVersion += 't';
}
core.setOutput('python-version', pythonVersion);
core.setOutput('python-path', pythonPath);
return {impl: 'CPython', version: installed};
return {impl: 'CPython', version: pythonVersion};
}
/* Desugar free threaded and dev versions */
export function desugarVersion(versionSpec: string) {
const {version, freethreaded} = desugarFreeThreadedVersion(versionSpec);
return {version: desugarDevVersion(version), freethreaded};
}
/* Identify freethreaded versions like, 3.13t, 3.13.1t, 3.13t-dev.
* Returns the version without the `t` and the architectures suffix, if freethreaded */
function desugarFreeThreadedVersion(versionSpec: string) {
const majorMinor = /^(\d+\.\d+(\.\d+)?)(t)$/;
if (majorMinor.test(versionSpec)) {
return {version: versionSpec.replace(majorMinor, '$1'), freethreaded: true};
}
const devVersion = /^(\d+\.\d+)(t)(-dev)$/;
if (devVersion.test(versionSpec)) {
return {
version: versionSpec.replace(devVersion, '$1$3'),
freethreaded: true
};
}
return {version: versionSpec, freethreaded: false};
}
/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */

View file

@ -92,6 +92,7 @@ async function run() {
const versions = resolveVersionInput();
const checkLatest = core.getBooleanInput('check-latest');
const allowPreReleases = core.getBooleanInput('allow-prereleases');
const freethreaded = core.getBooleanInput('freethreaded');
if (versions.length) {
let pythonVersion = '';
@ -132,7 +133,8 @@ async function run() {
arch,
updateEnvironment,
checkLatest,
allowPreReleases
allowPreReleases,
freethreaded
);
pythonVersion = installed.version;
core.info(`Successfully set up ${installed.impl} (${pythonVersion})`);