Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supported python version not found on self-hosted runner #961

Open
2 tasks done
elderlabs opened this issue Oct 12, 2024 · 2 comments
Open
2 tasks done

Supported python version not found on self-hosted runner #961

elderlabs opened this issue Oct 12, 2024 · 2 comments
Labels
feature request New feature or request to improve the current logic

Comments

@elderlabs
Copy link

elderlabs commented Oct 12, 2024

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:

  • Ubuntu Linux 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.

@elderlabs elderlabs added bug Something isn't working needs triage labels Oct 12, 2024
@aparnajyothi-y
Copy link
Contributor

Hello @elderlabs, Thank you for creating this issue and we will look into it :)

@priya-kinthali priya-kinthali self-assigned this Oct 16, 2024
@priya-kinthali
Copy link
Contributor

Hello @elderlabs 👋,
Thank you for your input. Currently, our support for Python distributions is limited to the operating systems available on our GitHub-hosted runners. We appreciate your feedback and will consider incorporating broader support in future updates.

This issue appears to be more of a feature request rather than a bug, and we will update the label accordingly.

@priya-kinthali priya-kinthali added feature request New feature or request to improve the current logic and removed bug Something isn't working labels Oct 21, 2024
@priya-kinthali priya-kinthali removed their assignment Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

3 participants