Skip to content

Python3.9 on aarch64 for macOS 13.4.1. #696

Description

@tvorogme

Description:
Error: The version '3.9' with architecture 'arm64' was not found for macOS 13.4.1.

Action version:
'actions/setup-python@v4' (SHA:bd6b4b6205c4dbad673328db7b31b7fab9e241c0)

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
(aarch64, macOS, Python3.9)

Repro steps:

      - uses: actions/setup-python@v4
        with:
          python-version: "3.9"

Expected behavior:
Successfully installed python

Actual behavior:
Error message

Activity

  1. dusan-trickovic commented on Jul 4, 2023

    @dusan-trickovic

    Hello, @tvorogme ! Thank you for creating this issue, we'll investigate it and see what can be done :)

  2. tvorogme commented on Jul 6, 2023

    @tvorogme
    Author

    @dusan-trickovic hey! When approximately can we expect a fix? I really need this container for cross-platform distribution of the package.

  3. dusan-trickovic commented on Jul 13, 2023

    @dusan-trickovic

    Hello @tvorogme ! Thank you for reaching out and I apologize for a later response. I will consult with the team regarding this and get back to you with our findings as soon as possible. Thank you for your patience and cooperation on this :)

    EDIT: In case there were any recent developments / updates regarding this issue, please feel free to let us know about it

  4. dusan-trickovic commented on Jul 14, 2023

    @dusan-trickovic

    Hello again, @tvorogme ! I just wanted to check in with you and ask you if you could please try using Python version such as 3.10.11 in your workflow? From the description of your problem, it seems as though that version of Python just simply doesn't exist for your specific architecture in the versions repository (while there is an arm64 option for 3.10.11 for darwin).

    Newer versions (such as 3.11 and 3.12 alpha and beta) also seem to have support for arm64, but I suggested 3.10.11 as it is the closest to the one you need. If it won't affect your own personal requirements for the project, I would suggest trying to use the suggested version and seeing if that fixes the error you've encountered.

    If you encounter any more issues (similar to this or otherwise), please don't hesitate to reach out again. On the other hand, if this solved your issue, you can also let us know about it so that we can close it.

    Thank you very much for your cooperation :)

  5. tvorogme commented on Jul 15, 2023

    @tvorogme
    Author

    @dusan-trickovic hey! Glad you right back.

    Thanks for the idea, but it doesn't work for me. We are developing a package that should be available on: Windows / Linux / macOS. Since we work with pybind11 we are tied to the major python releases, so we support py3.9 / py3.10 / py3.11. If we make a package for py3.10 it means it won't work for py3.9.

    As a temporary solution, I made a separate workflow just for macOS aarch64 / x86_64 that installs python3.9 from brew, because it's not working from actions/setup-python. But it's very ugly.

    Your workflow works for all other versions, and it's very cool.

    You also can look at status of python versions, the Python3.9 is not end-of-life status.

    Screenshot 2023-07-15 at 11 01 42 AM
  6. dusan-trickovic commented on Jul 17, 2023

    @dusan-trickovic

    Hello again @tvorogme ! I just wanted to drop an update here and say that, at this time, we only have arm64 support for versions 3.10 and later. Therefore, although 3.10 and 3.11 fit this criteria, 3.9 unfortunately doesn't, though we will investigate that too in the future.

    Thank you very much for your time and cooperation :)

  7. richard-scott commented on Oct 28, 2023

    @richard-scott

    I can't believe this is still a problem 3 years after Python started supporting the M1 architecture.

    However, it's not just Apple hardware having problems as I have issues with major version numbers such as version '3.10' with architecture 'arm64' was not found for Debian 12.

  8. ianspektor commented on Jan 31, 2024

    @ianspektor

    at this time, we only have arm64 support for versions 3.10 and later

    Is there a timeline on getting support for installing 3.8 and 3.9 in mac arm runners? We wanted to automate the build and upload of our Python package but doing it only for >= 3.10 and having to manually build and upload for lower versions wouldn't be of much value 🥲

  9. rwader-swi commented on Mar 13, 2024

    @rwader-swi

    i'm getting the same for 3.9 on Debian 12😞

  10. 27 remaining items

  11. v-aparnajyothi-y commented on Aug 21, 2024

    @v-aparnajyothi-y
    Contributor

    Hello Everyone, We have already added arm64 support for Python version 3.9. Please find the attached screenshot for reference. Please validate from your end and confirm.

    Screenshot 2024-08-20 at 6 56 37 PM
  12. hugovk commented on Aug 24, 2024

    @hugovk
    Contributor
  13. v-aparnajyothi-y commented on Aug 29, 2024

    @v-aparnajyothi-y
    Contributor

    Thanks @hugovk for the confirmation and proceeding to close the issue as issue addressed and confirmed.

  14. added a commit that references this issue on Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions