setup-python/dist/setup
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
..
index.js feat: fall back to system Python when pre-built binaries unavailable 2026-03-18 15:48:13 +01:00