-
Notifications
You must be signed in to change notification settings - Fork 654
Description
Description:
actions@setup-python exclusively supports Ubuntu, despite claims of Linux support for self-hosted runners.
Furthermore, in the versions-manifest.json, the platform is linux, yet the platform version is 22.04, which happens to work for Ubuntu images only. It may be more relevant to actions/python-versions, but issues cannot be created there.
The only pertinent information available here states:
Python distributions are only available for the same environments that GitHub Actions hosted environments are available for. If you are using an unsupported version of Ubuntu such as 19.04 or another Linux distribution such as Fedora, setup-python may not work.
Despite this, the documentation continues to represent the platform as Linux, not specifically Ubuntu.
Action version:
Any version
Platform:
- Linux
Ubuntu - macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
All Python versions
Repro steps:
Utilize a self-hosted runner with any Linux distribution other than Ubuntu.
Expected behavior:
Support should be extended to other Linux distributions, or the documentation and references (such as this) should explicitly specify that only Ubuntu is supported, not the entire Linux platform.
Actual behavior:
The version '3.12.11' with architecture 'x64' was not found for this operating system. The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json