Description
Description:
I have a self-hosted runner; Github's hosted runners aren't cheap at scale. It runs x86 Debian linux. Why? Ubuntu is bloated and Canonical is full of bad production practices. [fite me] My build action fails to run because setup-python possibly searches with platform_version
instead of arch
and platform
alone.
Action version:
v5
Platform:
-
UbuntuLinux x86
Runner type:
- Self-hosted
Tools version:
All.
Repro steps:
Working in elderlabs/BetterDisco with build.yml.
Expected behavior:
I expect setup-python to treat the distro agnostically, or at the least, support Ubuntu's parent distro -- rather, not locked to Ubuntu alone. I understand this is the linux distro Github offers with their hosted runners, but they also allow self-hosted linux runners that aren't running Ubuntu. At the least, an override that's able to skip the platform_version
would be a nice-to-have. Python is python, and in theory it should be able to work in most (linux) places identically.
Actual behavior:
The version '3.12.7' with architecture 'x64' was not found for Debian n/a.
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
If a patch can be pushed for difficult people like me, I'd be grateful. Thank you.
EDIT: This may be a variant of #716, though in my instance, I'm not looking for the ability to override outside of my action file, merely the treatment of linux universally.