Repository navigation
Python3.9 on aarch64 for macOS 13.4.1. #696
Description
Activity
Hello, @tvorogme ! Thank you for creating this issue, we'll investigate it and see what can be done :)
Reacted by Andrey Tvorozhkov@dusan-trickovic hey! When approximately can we expect a fix? I really need this container for cross-platform distribution of the package.
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
Reacted by Andrey TvorozhkovHello 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.11in 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 anarm64option for3.10.11fordarwin).Newer versions (such as
3.11and3.12alphaandbeta) also seem to have support forarm64, but I suggested3.10.11as 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 :)
@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-lifestatus.
Hello again @tvorogme ! I just wanted to drop an update here and say that, at this time, we only have
arm64support for versions3.10and later. Therefore, although3.10and3.11fit this criteria,3.9unfortunately doesn't, though we will investigate that too in the future.Thank you very much for your time and cooperation :)
Reacted by Carlos Pereira Atencio, Ruben Fonseca, Haibao Tang and Oleg A.Reacted by Andrey Tvorozhkov- added 2 commits that reference this issue
on Oct 11, 2023 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.
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 🥲
Reacted by Richard Scott, Hudson Graeme and Kenny Songi'm getting the same for 3.9 on Debian 12😞
27 remaining items
Confirmed, thanks!
- Python 3.9 on macos-13: https://github.com/hugovk/Pillow/actions/runs/10504390275/job/29101211666
- Python 3.9 on macos-14: https://github.com/hugovk/Pillow/actions/runs/10504390275/job/29101209375
Thanks @hugovk for the confirmation and proceeding to close the issue as issue addressed and confirmed.
Reacted by Hugo van Kemenade- added 3 commits that reference this issue
on Feb 24, 2025 - added a commit that references this issue
on Feb 24, 2025

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:
Runner type:
Tools version:
(aarch64, macOS, Python3.9)
Repro steps:
Expected behavior:
Successfully installed python
Actual behavior:
Error message