setup-python icon indicating copy to clipboard operation
setup-python copied to clipboard

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

Open loopingz opened this issue 1 year ago • 0 comments

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 avatar Aug 29 '24 16:08 loopingz