fix: install PyPy on Linux ARM64 (#1011)
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.11 ubuntu-20.04 (noenv) (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 tests / Test setup-python (push) Has been cancelled
Validate Python e2e / Setup 3.10 ubuntu-20.04 (noenv) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy2.7 macos-13 (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
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 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 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
e2e-cache / Test pip (Python pypy-3.9-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
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 pipenv (Python pypy-3.10-v7.x, macos-13) (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 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
Validate GraalPy e2e / Setup GraalPy graalpy-23.0 macos-13 (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
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
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
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 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 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 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 ubuntu-20.04 (push) Has been cancelled
Validate PyPy e2e / Setup PyPy pypy-2.7-v7.3.12rc1 ubuntu-20.04 (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 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-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 Python e2e / Setup 3.10 macos-latest (noenv) (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 PyPy e2e / Setup PyPy pypy-2.7-v7.3.17 windows-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 / 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 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 / Check non-eol pypy-3.10 on windows-2025 (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-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.13.0 macos-13 (push) Has been cancelled
Validate Python e2e / Setup 3.14-dev macos-latest (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.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.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.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.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.9.13 ubuntu-22.04 version file without parameter (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 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.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 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 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.13.0 macos-latest standard pyproject file (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.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 ubuntu-latest (push) Has been cancelled
Validate Python e2e / Setup 3.14-dev windows-latest (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.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.14 macos-13 (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.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.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.12 ubuntu-20.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 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.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
This commit is contained in:
Matthieu Darbois 2025-02-05 20:58:38 +01:00 committed by GitHub
parent 42375524e2
commit 8039c45ed9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 73 additions and 10 deletions

View file

@ -69,6 +69,59 @@ jobs:
${EXECUTABLE} --version ${EXECUTABLE} --version
shell: bash shell: bash
check-non-eol:
name: Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- macos-15
- windows-2019
- windows-2022
- windows-2025
- ubuntu-22.04
- ubuntu-24.04
- ubuntu-22.04-arm
- ubuntu-24.04-arm
pypy: ['pypy-2.7', 'pypy-3.10']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup-python ${{ matrix.pypy }}
id: setup-python
uses: ./
with:
python-version: ${{ matrix.pypy }}
- name: Check python-path
run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
shell: bash
- name: PyPy and Python version
run: python --version
- name: Run simple code
run: python -c 'import math; print(math.factorial(5))'
- name: Assert PyPy is running
run: |
import platform
assert platform.python_implementation().lower() == "pypy"
shell: python
- name: Assert expected binaries (or symlinks) are present
run: |
EXECUTABLE=${{ matrix.pypy }}
EXECUTABLE=${EXECUTABLE/pypy-/pypy} # remove the first '-' in "pypy-X.Y" -> "pypyX.Y" to match executable name
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
${EXECUTABLE} --version
shell: bash
setup-pypy-noenv: setup-pypy-noenv:
name: Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) name: Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv)
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

15
dist/setup/index.js vendored
View file

@ -100062,28 +100062,33 @@ function pypyVersionToSemantic(versionSpec) {
} }
exports.pypyVersionToSemantic = pypyVersionToSemantic; exports.pypyVersionToSemantic = pypyVersionToSemantic;
function isArchPresentForWindows(item, architecture) { function isArchPresentForWindows(item, architecture) {
architecture = replaceX32toX86(architecture); architecture = pypyArchitecture(architecture);
return item.files.some((file) => utils_1.WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture); return item.files.some((file) => utils_1.WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture);
} }
exports.isArchPresentForWindows = isArchPresentForWindows; exports.isArchPresentForWindows = isArchPresentForWindows;
function isArchPresentForMacOrLinux(item, architecture, platform) { function isArchPresentForMacOrLinux(item, architecture, platform) {
architecture = pypyArchitecture(architecture);
return item.files.some((file) => file.arch === architecture && file.platform === platform); return item.files.some((file) => file.arch === architecture && file.platform === platform);
} }
exports.isArchPresentForMacOrLinux = isArchPresentForMacOrLinux; exports.isArchPresentForMacOrLinux = isArchPresentForMacOrLinux;
function findAssetForWindows(releases, architecture) { function findAssetForWindows(releases, architecture) {
architecture = replaceX32toX86(architecture); architecture = pypyArchitecture(architecture);
return releases.files.find((item) => utils_1.WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture); return releases.files.find((item) => utils_1.WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture);
} }
exports.findAssetForWindows = findAssetForWindows; exports.findAssetForWindows = findAssetForWindows;
function findAssetForMacOrLinux(releases, architecture, platform) { function findAssetForMacOrLinux(releases, architecture, platform) {
architecture = pypyArchitecture(architecture);
return releases.files.find((item) => item.arch === architecture && item.platform === platform); return releases.files.find((item) => item.arch === architecture && item.platform === platform);
} }
exports.findAssetForMacOrLinux = findAssetForMacOrLinux; exports.findAssetForMacOrLinux = findAssetForMacOrLinux;
function replaceX32toX86(architecture) { function pypyArchitecture(architecture) {
// convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value. if (utils_1.IS_WINDOWS && architecture === 'x32') {
if (architecture === 'x32') { // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.
architecture = 'x86'; architecture = 'x86';
} }
else if (utils_1.IS_LINUX && architecture === 'arm64') {
architecture = 'aarch64';
}
return architecture; return architecture;
} }

View file

@ -8,6 +8,7 @@ import * as exec from '@actions/exec';
import fs from 'fs'; import fs from 'fs';
import { import {
IS_LINUX,
IS_WINDOWS, IS_WINDOWS,
WINDOWS_PLATFORMS, WINDOWS_PLATFORMS,
IPyPyManifestRelease, IPyPyManifestRelease,
@ -246,7 +247,7 @@ export function pypyVersionToSemantic(versionSpec: string) {
} }
export function isArchPresentForWindows(item: any, architecture: string) { export function isArchPresentForWindows(item: any, architecture: string) {
architecture = replaceX32toX86(architecture); architecture = pypyArchitecture(architecture);
return item.files.some( return item.files.some(
(file: any) => (file: any) =>
WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture
@ -258,13 +259,14 @@ export function isArchPresentForMacOrLinux(
architecture: string, architecture: string,
platform: string platform: string
) { ) {
architecture = pypyArchitecture(architecture);
return item.files.some( return item.files.some(
(file: any) => file.arch === architecture && file.platform === platform (file: any) => file.arch === architecture && file.platform === platform
); );
} }
export function findAssetForWindows(releases: any, architecture: string) { export function findAssetForWindows(releases: any, architecture: string) {
architecture = replaceX32toX86(architecture); architecture = pypyArchitecture(architecture);
return releases.files.find( return releases.files.find(
(item: any) => (item: any) =>
WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture
@ -276,15 +278,18 @@ export function findAssetForMacOrLinux(
architecture: string, architecture: string,
platform: string platform: string
) { ) {
architecture = pypyArchitecture(architecture);
return releases.files.find( return releases.files.find(
(item: any) => item.arch === architecture && item.platform === platform (item: any) => item.arch === architecture && item.platform === platform
); );
} }
function replaceX32toX86(architecture: string): string { function pypyArchitecture(architecture: string): string {
// convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value. if (IS_WINDOWS && architecture === 'x32') {
if (architecture === 'x32') { // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.
architecture = 'x86'; architecture = 'x86';
} else if (IS_LINUX && architecture === 'arm64') {
architecture = 'aarch64';
} }
return architecture; return architecture;
} }