setup-python/src
Bruno Verachten 156786c425
feat: fall back to system Python when pre-built binaries unavailable
When pre-built Python binaries are not available for the current
architecture (e.g., riscv64), try using system Python as a fallback
instead of failing with an error.

This enables setup-python to work on architectures that don't yet
have pre-built binaries in actions/python-versions, such as riscv64
self-hosted runners. The fallback only activates when:
1. No cached version is found
2. No manifest entry exists for the architecture
3. System python3 exists and satisfies the requested version spec

A warning is emitted so users know the fallback was used.

Fixes #1288

Signed-off-by: Bruno Verachten <gounthar@gmail.com>
2026-03-18 15:48:13 +01:00
..
cache-distributions fix: add arch to cache key (#896) 2024-08-07 15:12:32 -05:00
cache-save.ts Change missing cache directory error to warning (#1182) 2025-08-25 21:45:55 -05:00
find-graalpy.ts graalpy: add graalpy early-access and windows builds (#880) 2025-10-22 11:16:57 -05:00
find-pypy.ts Include python version in PyPy python-version output (#1110) 2025-07-21 14:01:05 -05:00
find-python.ts feat: fall back to system Python when pre-built binaries unavailable 2026-03-18 15:48:13 +01:00
install-graalpy.ts graalpy: add graalpy early-access and windows builds (#880) 2025-10-22 11:16:57 -05:00
install-pypy.ts fix: install PyPy on Linux ARM64 (#1011) 2025-02-05 13:58:38 -06:00
install-python.ts Fix for Candidate Not Iterable Error (#1082) 2025-04-17 08:55:44 -05:00
setup-python.ts Add support for pip-install input (#1201) 2025-09-25 22:01:19 -05:00
utils.ts graalpy: add graalpy early-access and windows builds (#880) 2025-10-22 11:16:57 -05:00