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

Ubuntu ARM64 support for self hosted runners

Open Joeri-Abbo opened this issue 2 years ago • 4 comments

Description: A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link. We are migrating to ARM64 Linux with os Ubuntu when i try to run a workflow. It breaks because ARM64 for ubuntu is not in the manifest https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

Action version: v4

Platform:

  • [x] Ubuntu
  • [ ] macOS
  • [ ] Windows

Runner type:

  • [ ] Hosted
  • [x] Self-hosted

Tools version: I think all versions I checkt with 3.11.3 and 3.10.7

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link. We are migrating to ARM64 Linux with os Ubuntu when i try to run a workflow. It breaks because ARM64 for ubuntu is not in the manifest https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json


on:
  workflow_call:

jobs:
  build:
    runs-on: [ self-hosted ]
    steps:
      - uses: actions/checkout@v3
      - name: Set up Python 3.11.3
        uses: actions/setup-python@v4
        with:
          python-version: "3.11.3"

Expected behavior: Be able to run python setup for ARM64 ubuntu

Actual behavior: It does not find the version in the manifest image

Joeri-Abbo avatar May 25 '23 14:05 Joeri-Abbo

Hello @Joeri-Abbo. Thank you for your report. We'll take a look on it.

dmitry-shibanov avatar May 26 '23 13:05 dmitry-shibanov

Relates to https://github.com/actions/setup-python/issues/108

danielloader avatar Jun 11 '23 09:06 danielloader

Yes please! we would love to have this support as well - we have a similar setup with self-hosted runners on ARM64 instances in AWS - and the workarounds suggested in #108 do not work since we're using a linux image

Thank you!

danielxt7 avatar Jun 22 '23 08:06 danielxt7

@danielxt7 this workaround is gold https://github.com/temporalio/sdk-python/pull/172/files#diff-e0c5149ab771083cacddbeaf3336656118f582f6311228e0b8652c3209a7dd2eR32-R39

edmondop avatar Aug 22 '23 00:08 edmondop

Hello Everyone, The version-manifest.json file has been updated to include arm64 support for latest versions of Python >= 3.8. We are now proceeding to close this issue.

Please feel free to reach out if any further concerns or clarifications are needed.

aparnajyothi-y avatar Aug 27 '24 12:08 aparnajyothi-y