setup-python/__tests__/finder.test.ts
Sam Gross 9e62be81b2
Some checks failed
Basic validation / Basic validation (push) Failing after 0s
Check dist/ / Check dist/ (push) Failing after 1s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.10) (push) Successful in 26s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Successful in 24s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.10-v7.x) (push) Successful in 8m59s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.9-v7.x) (push) Successful in 30s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.10) (push) Failing after 45s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Failing after 45s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.10-v7.x) (push) Failing after 55s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.9-v7.x) (push) Failing after 1m0s
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.10) (push) Failing after 1m11s
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, 3.9) (push) Failing after 1m11s
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.10-v7.x) (push) Failing after 1m7s
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (ubuntu-latest, pypy-3.9-v7.x) (push) Failing after 1m11s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, 3.10) (push) Successful in 24s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, 3.9) (push) Successful in 24s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, pypy-3.9-v7.x) (push) Successful in 1m11s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, pypy-3.9-v7.x) (push) Failing after 50s
e2e tests / Test setup-python (ubuntu-20.04) (push) Failing after 35s
e2e tests / Test setup-python (ubuntu-22.04) (push) Successful in 1m27s
e2e tests / Test setup-python (ubuntu-latest) (push) Successful in 1m26s
Licensed / Licensed (push) Failing after 1s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-22.3, ubuntu-20.04) (push) Successful in 33s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.0, ubuntu-20.04) (push) Successful in 31s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.0, ubuntu-latest) (push) Successful in 46s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.1, ubuntu-latest) (push) Successful in 37s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.1, ubuntu-latest) (push) Successful in 24s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy24.1, ubuntu-latest) (push) Successful in 35s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, pypy-3.10-v7.x) (push) Successful in 34s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, 3.10) (push) Failing after 40s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, 3.9) (push) Failing after 40s
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (ubuntu-latest, pypy-3.10-v7.x) (push) Failing after 50s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-22.3, ubuntu-latest) (push) Successful in 30s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.1, ubuntu-20.04) (push) Successful in 27s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-24.1, ubuntu-20.04) (push) Successful in 30s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-24.1, ubuntu-latest) (push) Successful in 31s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy22.3, ubuntu-20.04) (push) Successful in 25s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy22.3, ubuntu-latest) (push) Successful in 25s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.0, ubuntu-20.04) (push) Successful in 1m1s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.0, ubuntu-latest) (push) Successful in 26s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.1, ubuntu-20.04) (push) Successful in 25s
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy24.1, ubuntu-20.04) (push) Successful in 25s
Validate GraalPy e2e / check-latest (ubuntu-latest) (push) Successful in 35s
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.9) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, 3.9) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.10) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.10) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, 3.9) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-13, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.10) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, 3.9) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (macos-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.10) (push) Has been cancelled
e2e-cache / Test poetry (Python ${{ matrix.python-version}}, ${{ matrix.os }}) (windows-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pip (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, 3.10) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (windows-latest, pypy-3.9-v7.x) (push) Has been cancelled
e2e tests / Test setup-python (macos-13) (push) Has been cancelled
e2e tests / Test setup-python (macos-latest) (push) Has been cancelled
e2e tests / Test setup-python (windows-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-22.3, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-22.3, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.0, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.0, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.1, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-23.1, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-24.1, macos-13) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, 3.9) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-13, pypy-3.9-v7.x) (push) Has been cancelled
e2e-cache / Test pipenv (Python ${{ matrix.python-version}}, ${{ matrix.os }}, caching path) (macos-latest, 3.10) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy22.3, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy22.3, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (graalpy-24.1, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.0, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.0, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.1, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy23.1, macos-latest) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy24.1, macos-13) (push) Has been cancelled
Validate GraalPy e2e / Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv) (graalpy24.1, macos-latest) (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 Python e2e / check-latest (macos-latest, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.11) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-13, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-13, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-13, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-13, 3.9.13) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.11) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.12) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.13) (push) Waiting to run
Validate Python e2e / check-latest (windows-latest, 3.9) (push) Waiting to run
Validate Python e2e / setup-python-multiple-python-versions (macos-13) (push) Waiting to run
Validate Python e2e / setup-python-multiple-python-versions (macos-latest) (push) Waiting to run
Validate Python e2e / setup-python-multiple-python-versions (windows-latest) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (windows-latest, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.12) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-latest, ==3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (windows-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (windows-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (windows-latest, 3.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (windows-latest, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (windows-latest, 3.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (windows-latest, 3.9) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (windows-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (windows-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (windows-latest, ==3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-13, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-13, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-13, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-13, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-13, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (macos-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (windows-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (windows-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (windows-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (windows-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (windows-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / check-latest (macos-13, 3.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-13, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (macos-13) (push) Waiting to run
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (macos-latest) (push) Waiting to run
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (windows-latest) (push) Waiting to run
Validate Python e2e / Setup 3.14-dev ${{ matrix.os }} (macos-13) (push) Waiting to run
Validate Python e2e / Setup 3.14-dev ${{ matrix.os }} (macos-latest) (push) Waiting to run
Validate Python e2e / Setup 3.14-dev ${{ matrix.os }} (windows-latest) (push) Waiting to run
Validate Python e2e / Setup 3.14 ${{ matrix.os }} (macos-13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-13, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-13, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-13, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-13, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (macos-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup 3.14 ${{ matrix.os }} (macos-latest) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.13) (push) Waiting to run
Validate Python e2e / check-latest (macos-latest, 3.9) (push) Waiting to run
Validate Python e2e / Setup 3.14 ${{ matrix.os }} (windows-latest) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-13, 3.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-13, 3.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-13, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-13, 3.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-13, 3.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-latest, 3.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-latest, 3.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-latest, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-latest, 3.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (macos-latest, 3.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (windows-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-13, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-13, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-13, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-13, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-13, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (macos-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (windows-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (windows-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (windows-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (windows-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (windows-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-13, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (macos-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (windows-latest, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (windows-latest, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (windows-latest, 3.12.3) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (windows-latest, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (windows-latest, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-13, 3.10.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-13, 3.11.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-13, 3.13.0) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-13, 3.9.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (macos-13, ==3.12.3) (push) Waiting to run
CodeQL analysis / CodeQL analysis (push) Failing after 2s
Update configuration files / Update configuration files (push) Failing after 0s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-2.7) (push) Failing after 12m45s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-2.7-v7.3.12rc1) (push) Failing after 12m41s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-2.7-v7.3.17) (push) Failing after 12m36s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10) (push) Failing after 12m30s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-nightly) (push) Failing after 12m25s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.3.16) (push) Failing after 12m21s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.3.17) (push) Failing after 12m18s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.3.x) (push) Failing after 12m12s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy-3.10-v7.x) (push) Failing after 12m7s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy3.10-v7.3.17) (push) Failing after 12m2s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-20.04, pypy3.9) (push) Failing after 11m56s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.10.11) (push) Failing after 27s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.9) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-latest, 3.10) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-latest, 3.11) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-latest, 3.12) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-latest, 3.13) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-latest, 3.9) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.10) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.11) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.12) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.13) (push) Waiting to run
Validate Python e2e / check-latest (ubuntu-latest, 3.9) (push) Waiting to run
Validate Python e2e / setup-python-multiple-python-versions (ubuntu-latest) (push) Waiting to run
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.13.0) (push) Failing after 32s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.11.9) (push) Failing after 40s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.12.3) (push) Failing after 29s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-latest, 3.11.9) (push) Failing after 29s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-latest, 3.12.3) (push) Failing after 47s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-latest, 3.10.11) (push) Failing after 13m53s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-latest, 3.13.0) (push) Failing after 12m7s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.13.0) (push) Failing after 11m16s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.9.13) (push) Failing after 11m10s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-latest, 3.10.11) (push) Failing after 11m6s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-latest, 3.12.3) (push) Failing after 10m55s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-latest, 3.13.0) (push) Failing after 10m50s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.11.9) (push) Failing after 10m35s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-20.04, 3.9.13) (push) Failing after 14m25s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-latest, 3.9.13) (push) Failing after 11m58s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.10.11) (push) Failing after 11m54s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.11.9) (push) Failing after 11m50s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.12.3) (push) Failing after 11m45s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.13.0) (push) Failing after 11m39s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-20.04, 3.9.13) (push) Failing after 11m35s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.10.11) (push) Failing after 11m31s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.11.9) (push) Failing after 11m26s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-22.04, 3.12.3) (push) Failing after 11m20s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-latest, 3.11.9) (push) Failing after 11m0s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file (ubuntu-latest, 3.9.13) (push) Failing after 10m46s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.10.11) (push) Failing after 10m40s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.10.11) (push) Failing after 14m19s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.11.9) (push) Failing after 14m14s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.12.3) (push) Failing after 14m10s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.13.0) (push) Failing after 14m5s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (ubuntu-22.04, 3.9.13) (push) Failing after 14m0s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.12.3) (push) Failing after 28s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.13.0) (push) Failing after 28s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.11.9) (push) Failing after 35s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-20.04, 3.9.13) (push) Failing after 31s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.10.11) (push) Failing after 39s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.13.0) (push) Failing after 12m51s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.9.13) (push) Failing after 12m45s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-latest, 3.10.11) (push) Failing after 12m41s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-latest, 3.11.9) (push) Failing after 12m36s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-latest, 3.12.3) (push) Failing after 12m31s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.10.11) (push) Failing after 13m7s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.11.9) (push) Failing after 13m1s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-22.04, 3.12.3) (push) Failing after 12m56s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-latest, 3.13.0) (push) Failing after 12m27s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} version file without parameter (ubuntu-latest, 3.9.13) (push) Failing after 12m22s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.13.0) (push) Failing after 10m36s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, 3.9.13) (push) Failing after 10m31s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-20.04, ==3.12.3) (push) Failing after 10m26s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, 3.10.11) (push) Failing after 10m20s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, 3.11.9) (push) Failing after 10m16s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, 3.13.0) (push) Failing after 10m13s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, 3.9.13) (push) Failing after 10m6s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.12.3) (push) Failing after 14m19s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-latest, 3.10.11) (push) Failing after 13m39s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.13.0) (push) Failing after 14m15s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.9.13) (push) Failing after 14m9s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.10.11) (push) Failing after 14m5s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-22.04, ==3.12.3) (push) Failing after 15m0s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.11.9) (push) Failing after 14m1s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-latest, 3.10.11) (push) Failing after 14m56s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.12.3) (push) Failing after 13m56s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-latest, 3.11.9) (push) Failing after 14m50s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-latest, 3.13.0) (push) Failing after 14m46s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.13.0) (push) Failing after 13m51s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-latest, 3.11.9) (push) Failing after 13m37s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-latest, 3.9.13) (push) Failing after 14m41s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} standard pyproject file (ubuntu-latest, ==3.12.3) (push) Failing after 14m37s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.10.11) (push) Failing after 14m31s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-20.04, 3.11.9) (push) Failing after 14m26s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-22.04, 3.9.13) (push) Failing after 13m47s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-latest, 3.12.3) (push) Failing after 13m30s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-latest, 3.13.0) (push) Failing after 30s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} poetry pyproject file (ubuntu-latest, 3.9.13) (push) Failing after 25s
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (ubuntu-20.04) (push) Failing after 26s
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (ubuntu-latest) (push) Failing after 28s
Validate Python e2e / Setup 3.14.0-alpha.1 ${{ matrix.os }} (ubuntu-22.04) (push) Failing after 26s
Validate Python e2e / Setup 3.14-dev ${{ matrix.os }} (ubuntu-latest) (push) Successful in 31s
Validate Python e2e / Setup 3.14 ${{ matrix.os }} (ubuntu-latest) (push) Successful in 38s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.10) (push) Failing after 34s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.11) (push) Failing after 30s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.12) (push) Failing after 14m22s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.13) (push) Failing after 14m16s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-20.04, 3.9) (push) Failing after 14m11s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.10) (push) Failing after 14m6s
Validate Python e2e / Setup ${{ matrix.python }} ${{ matrix.os }} (noenv) (ubuntu-22.04, 3.11) (push) Failing after 14m0s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-2.7-v7.3.12rc1) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-2.7-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10-v7.3.16) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10-v7.3.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10-v7.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-2.7-v7.3.12rc1) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-2.7-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.3.16) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-2.7-v7.3.12rc1) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-2.7-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.3.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-2.7-v7.3.12rc1) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-2.7-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-v7.3.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-latest, pypy-3.10-v7.3.16) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (macos-13, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (ubuntu-latest, pypy-3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.3.16) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-22.04, pypy-2.7) (push) Successful in 24s
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-22.04, pypy-3.10) (push) Successful in 25s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-20.04, pypy2.7) (push) Successful in 29s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-20.04, pypy3.10-nightly) (push) Successful in 13m36s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-20.04, pypy3.9) (push) Successful in 55s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-latest, pypy2.7) (push) Successful in 25s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-latest, pypy3.10-nightly) (push) Successful in 11m52s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (ubuntu-latest, pypy3.9) (push) Successful in 24s
Validate PyPy e2e / check-latest (ubuntu-latest) (push) Successful in 25s
Validate PyPy e2e / setup-pypy-multiple-versions (ubuntu-latest) (push) Successful in 30s
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.3.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy-3.10-v7.x) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy3.10-v7.3.17) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (windows-latest, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-13, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-13, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-14, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-14, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-15, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (macos-15, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-22.04-arm, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-22.04-arm, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-24.04, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-24.04, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-24.04-arm, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (ubuntu-24.04-arm, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2019, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2019, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2022, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2022, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2025, pypy-2.7) (push) Has been cancelled
Validate PyPy e2e / Check non-eol ${{ matrix.pypy }} on ${{ matrix.os }} (windows-2025, pypy-3.10) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-13, pypy2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-13, pypy3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-13, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-latest, pypy2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-latest, pypy3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (macos-latest, pypy3.9) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (windows-latest, pypy2.7) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (windows-latest, pypy3.10-nightly) (push) Has been cancelled
Validate PyPy e2e / Setup PyPy ${{ matrix.pypy }} ${{ matrix.os }} (noenv) (windows-latest, pypy3.9) (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 (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 (windows-latest) (push) Has been cancelled
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

302 lines
10 KiB
TypeScript

import * as io from '@actions/io';
import os from 'os';
import fs from 'fs';
import path from 'path';
const toolDir = path.join(
__dirname,
'runner',
path.join(Math.random().toString(36).substring(7)),
'tools'
);
const tempDir = path.join(
__dirname,
'runner',
path.join(Math.random().toString(36).substring(7)),
'temp'
);
process.env['RUNNER_TOOL_CACHE'] = toolDir;
process.env['RUNNER_TEMP'] = tempDir;
import * as tc from '@actions/tool-cache';
import * as core from '@actions/core';
import * as finder from '../src/find-python';
import * as installer from '../src/install-python';
import manifestData from './data/versions-manifest.json';
describe('Finder tests', () => {
let writeSpy: jest.SpyInstance;
let spyCoreAddPath: jest.SpyInstance;
let spyCoreExportVariable: jest.SpyInstance;
const env = process.env;
beforeEach(() => {
writeSpy = jest.spyOn(process.stdout, 'write');
writeSpy.mockImplementation(() => {});
jest.resetModules();
process.env = {...env};
spyCoreAddPath = jest.spyOn(core, 'addPath');
spyCoreExportVariable = jest.spyOn(core, 'exportVariable');
});
afterEach(() => {
jest.resetAllMocks();
jest.clearAllMocks();
jest.restoreAllMocks();
process.env = env;
});
it('Finds Python if it is installed', async () => {
const getBooleanInputSpy = jest.spyOn(core, 'getBooleanInput');
getBooleanInputSpy.mockImplementation(input => false);
const pythonDir: string = path.join(toolDir, 'Python', '3.0.0', 'x64');
await io.mkdirP(pythonDir);
fs.writeFileSync(`${pythonDir}.complete`, 'hello');
// This will throw if it doesn't find it in the cache and in the manifest (because no such version exists)
await finder.useCpythonVersion('3.x', 'x64', true, false, false, false);
expect(spyCoreAddPath).toHaveBeenCalled();
expect(spyCoreExportVariable).toHaveBeenCalledWith(
'pythonLocation',
expect.anything()
);
expect(spyCoreExportVariable).toHaveBeenCalledWith(
'PKG_CONFIG_PATH',
expect.anything()
);
});
it('Finds Python if it is installed without environment update', async () => {
const pythonDir: string = path.join(toolDir, 'Python', '3.0.0', 'x64');
await io.mkdirP(pythonDir);
fs.writeFileSync(`${pythonDir}.complete`, 'hello');
// This will throw if it doesn't find it in the cache and in the manifest (because no such version exists)
await finder.useCpythonVersion('3.x', 'x64', false, false, false, false);
expect(spyCoreAddPath).not.toHaveBeenCalled();
expect(spyCoreExportVariable).not.toHaveBeenCalled();
});
it('Finds stable Python version if it is not installed, but exists in the manifest', async () => {
const findSpy: jest.SpyInstance = jest.spyOn(tc, 'getManifestFromRepo');
findSpy.mockImplementation(() => <tc.IToolRelease[]>manifestData);
const getBooleanInputSpy = jest.spyOn(core, 'getBooleanInput');
getBooleanInputSpy.mockImplementation(input => false);
const installSpy: jest.SpyInstance = jest.spyOn(
installer,
'installCpythonFromRelease'
);
installSpy.mockImplementation(async () => {
const pythonDir: string = path.join(toolDir, 'Python', '1.2.3', 'x64');
await io.mkdirP(pythonDir);
fs.writeFileSync(`${pythonDir}.complete`, 'hello');
});
// This will throw if it doesn't find it in the cache and in the manifest (because no such version exists)
await expect(
finder.useCpythonVersion('1.2.3', 'x64', true, false, false, false)
).resolves.toEqual({
impl: 'CPython',
version: '1.2.3'
});
expect(spyCoreAddPath).toHaveBeenCalled();
expect(spyCoreExportVariable).toHaveBeenCalledWith(
'pythonLocation',
expect.anything()
);
expect(spyCoreExportVariable).toHaveBeenCalledWith(
'PKG_CONFIG_PATH',
expect.anything()
);
});
it('Finds pre-release Python version in the manifest', async () => {
const findSpy: jest.SpyInstance = jest.spyOn(tc, 'getManifestFromRepo');
findSpy.mockImplementation(() => <tc.IToolRelease[]>manifestData);
const getBooleanInputSpy = jest.spyOn(core, 'getBooleanInput');
getBooleanInputSpy.mockImplementation(input => false);
const installSpy: jest.SpyInstance = jest.spyOn(
installer,
'installCpythonFromRelease'
);
installSpy.mockImplementation(async () => {
const pythonDir: string = path.join(
toolDir,
'Python',
'1.2.4-beta.2',
'x64'
);
await io.mkdirP(pythonDir);
fs.writeFileSync(`${pythonDir}.complete`, 'hello');
});
// This will throw if it doesn't find it in the manifest (because no such version exists)
await expect(
finder.useCpythonVersion(
'1.2.4-beta.2',
'x64',
false,
false,
false,
false
)
).resolves.toEqual({
impl: 'CPython',
version: '1.2.4-beta.2'
});
});
it('Check-latest true, finds the latest version in the manifest', async () => {
const findSpy: jest.SpyInstance = jest.spyOn(tc, 'getManifestFromRepo');
findSpy.mockImplementation(() => <tc.IToolRelease[]>manifestData);
const getBooleanInputSpy = jest.spyOn(core, 'getBooleanInput');
getBooleanInputSpy.mockImplementation(input => true);
const cnSpy: jest.SpyInstance = jest.spyOn(process.stdout, 'write');
cnSpy.mockImplementation(line => {
// uncomment to debug
// process.stderr.write('write:' + line + '\n');
});
const addPathSpy: jest.SpyInstance = jest.spyOn(core, 'addPath');
addPathSpy.mockImplementation(() => null);
const infoSpy: jest.SpyInstance = jest.spyOn(core, 'info');
infoSpy.mockImplementation(() => {});
const debugSpy: jest.SpyInstance = jest.spyOn(core, 'debug');
debugSpy.mockImplementation(() => {});
const pythonDir: string = path.join(toolDir, 'Python', '1.2.2', 'x64');
const expPath: string = path.join(toolDir, 'Python', '1.2.3', 'x64');
const installSpy: jest.SpyInstance = jest.spyOn(
installer,
'installCpythonFromRelease'
);
installSpy.mockImplementation(async () => {
await io.mkdirP(expPath);
fs.writeFileSync(`${expPath}.complete`, 'hello');
});
const tcFindSpy: jest.SpyInstance = jest.spyOn(tc, 'find');
tcFindSpy
.mockImplementationOnce(() => '')
.mockImplementationOnce(() => expPath);
await io.mkdirP(pythonDir);
await io.rmRF(path.join(toolDir, 'Python', '1.2.3'));
fs.writeFileSync(`${pythonDir}.complete`, 'hello');
// This will throw if it doesn't find it in the cache and in the manifest (because no such version exists)
await finder.useCpythonVersion('1.2', 'x64', true, true, false, false);
expect(infoSpy).toHaveBeenCalledWith("Resolved as '1.2.3'");
expect(infoSpy).toHaveBeenCalledWith(
'Version 1.2.3 was not found in the local cache'
);
expect(infoSpy).toHaveBeenCalledWith(
'Version 1.2.3 is available for downloading'
);
expect(installSpy).toHaveBeenCalled();
expect(addPathSpy).toHaveBeenCalledWith(expPath);
await finder.useCpythonVersion(
'1.2.4-beta.2',
'x64',
false,
true,
false,
false
);
expect(spyCoreAddPath).toHaveBeenCalled();
expect(spyCoreExportVariable).toHaveBeenCalledWith(
'pythonLocation',
expect.anything()
);
expect(spyCoreExportVariable).toHaveBeenCalledWith(
'PKG_CONFIG_PATH',
expect.anything()
);
});
it('Finds stable Python version if it is not installed, but exists in the manifest, skipping newer pre-release', async () => {
const findSpy: jest.SpyInstance = jest.spyOn(tc, 'getManifestFromRepo');
findSpy.mockImplementation(() => <tc.IToolRelease[]>manifestData);
const installSpy: jest.SpyInstance = jest.spyOn(
installer,
'installCpythonFromRelease'
);
installSpy.mockImplementation(async () => {
const pythonDir: string = path.join(toolDir, 'Python', '1.2.3', 'x64');
await io.mkdirP(pythonDir);
fs.writeFileSync(`${pythonDir}.complete`, 'hello');
});
// This will throw if it doesn't find it in the cache and in the manifest (because no such version exists)
await expect(
finder.useCpythonVersion('1.2', 'x64', false, false, false, false)
).resolves.toEqual({
impl: 'CPython',
version: '1.2.3'
});
});
it('Finds Python version if it is not installed, but exists in the manifest, pre-release fallback', async () => {
const findSpy: jest.SpyInstance = jest.spyOn(tc, 'getManifestFromRepo');
findSpy.mockImplementation(() => <tc.IToolRelease[]>manifestData);
const installSpy: jest.SpyInstance = jest.spyOn(
installer,
'installCpythonFromRelease'
);
installSpy.mockImplementation(async () => {
const pythonDir: string = path.join(
toolDir,
'Python',
'1.1.0-beta.2',
'x64'
);
await io.mkdirP(pythonDir);
fs.writeFileSync(`${pythonDir}.complete`, 'hello');
});
// This will throw if it doesn't find it in the cache and in the manifest (because no such version exists)
await expect(
finder.useCpythonVersion('1.1', 'x64', false, false, false, false)
).rejects.toThrow();
await expect(
finder.useCpythonVersion('1.1', 'x64', false, false, true, false)
).resolves.toEqual({
impl: 'CPython',
version: '1.1.0-beta.2'
});
// Check 1.1.0 version specifier does not fallback to '1.1.0-beta.2'
await expect(
finder.useCpythonVersion('1.1.0', 'x64', false, false, true, false)
).rejects.toThrow();
});
it('Errors if Python is not installed', async () => {
// This will throw if it doesn't find it in the cache and in the manifest (because no such version exists)
let thrown = false;
try {
await finder.useCpythonVersion(
'3.300000',
'x64',
true,
false,
false,
false
);
} catch {
thrown = true;
}
expect(thrown).toBeTruthy();
expect(spyCoreAddPath).not.toHaveBeenCalled();
expect(spyCoreExportVariable).not.toHaveBeenCalled();
});
});