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

Version not found when using new arm-based linux runners (ubuntu 22.04) #882

Open
2 of 5 tasks
juanitosvq opened this issue Jun 5, 2024 · 3 comments
Open
2 of 5 tasks
Assignees
Labels
bug Something isn't working

Comments

@juanitosvq
Copy link

Description:
I just created a runner using the newly available arm-based linux images for GitHub actions: https://github.blog/changelog/2024-06-03-actions-arm-based-linux-and-windows-runners-are-now-in-public-beta/
I am using Ubuntu 22.04 for this runner:
image

When trying to use the actions/setup-python@v5 to set up python 3.9, the action is failing with:

The version '3.9' with architecture 'arm64' was not found for Ubuntu 22.04.
The list of all available versions can be found here: https://github.com/raw/actions/python-versions/main/versions-manifest.json

Action version:
actions/setup-python@v5

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
Python 3.9

Repro steps:
Create a runner using the new arm-based linux, selecting Ubuntu 22.04 by Arm Limited as Image name. Use that new runner in a GitHub Action and try to set up python3.9 using the action.

Expected behavior:
Should be able to set up python 3.9 in an arm-based Ubuntu 22.04 runner.

Actual behavior:
Unable to set up python 3.9 in an arm-based Ubuntu 22.04 runner.

@juanitosvq juanitosvq added bug Something isn't working needs triage labels Jun 5, 2024
@juanitosvq juanitosvq changed the title Version '3.9' with architecture 'arm64' was not found for Ubuntu 22.04 Version not found when using new arm-based linux runners (ubuntu 22.04) Jun 5, 2024
@aparnajyothi-y
Copy link

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

@AlissonMachadoEmbitel
Copy link

AlissonMachadoEmbitel commented Jun 13, 2024

i have the same issue, but trying to use the python3.11.9 and i am using a self hosted runner

@atwoodjw
Copy link

It's a little surprising setup-python doesn't support ARM-based Python versions yet, given ARM-based runners are in public beta now. We were able to get around this by running jobs in a container (not using setup-python).

@aparnajyothi-y aparnajyothi-y self-assigned this Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants