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

feat: add ignore-platform-version option to allow install on debian #933

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

loopingz
Copy link

Description:
When trying to use setup-python on a Debian-based runner, an error is thrown that it cannot find the python SDK.

Error: The version '3.12.3' with architecture 'x64' was not found for Debian 11.
  The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

It comes down to the fast that the version manifest contains Ubuntu versions number that are irrelevant to Debian, I'm unsure how relevant the platform_version is compare to architecture and platform, because the downloaded file are linux binaries not specific to a distribution I think.

Something must have changed because this is a new behavior.

Related issue:
Add link to the related issue.

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@loopingz loopingz requested a review from a team as a code owner August 29, 2024 16:00
@aparnajyothi-y
Copy link
Contributor

Hello @loopingz , Thank you for the pull request. While adding an ignore-platform-version option would enhance compatibility for Debian-based runners, it introduces additional complexity and could lead to potential compatibility issues, especially if users install versions that are not fully supported by their OS. As per our support policy, we only support versions available on our hosted runners. This ensures a more consistent and reliable experience across all environments.

We appreciate your understanding and encourage you to continue sharing your feedback with us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants