-
Notifications
You must be signed in to change notification settings - Fork 535
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
x64 python fails on arm64 images #855
Comments
Running Python-x64 on macops-arm64 is broken on GA [0] [0] actions/setup-python#855 Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Except for python3.7 on macos. x64 builds are broken on macos-14 images[0], but python3.7 does not provide arm64 image[1] [0] actions/setup-python#855 [1] actions/setup-python#856 Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Restrict python3.7 macos jobs to macos-13. x64 builds are broken on macos-14 images[0], but python3.7 does not provide arm64 image[1] [0] actions/setup-python#855 [1] actions/setup-python#856 Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
In practise it means x64 for linux and windows and arm64 for macos. Restrict python3.7 macos jobs to macos-13. x64 builds are broken on macos-14 images[0], but python3.7 does not provide arm64 image[1] [0] actions/setup-python#855 [1] actions/setup-python#856 Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
…d docs In practise it means x64 for linux and windows and arm64 for macos. Restrict python3.7 macos jobs to macos-13. x64 builds are broken on macos-14 images[0], but python3.7 does not provide arm64 image[1] [0] actions/setup-python#855 [1] actions/setup-python#856 Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
x64 python is broken on arm64 images [0] [0] actions/setup-python#855 Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Hello @jvesely |
same issue at @v4 py:3.9 3.10 os:macos-latest |
I confirm I am seeing the same issue: https://github.com/neurodata/scikit-tree/actions/runs/8895864721/job/24427188361?pr=264 Is there any temporary fix? Does downgrading to v4 work? |
Hi. @aparnajyothi-y reported at #825 (comment) (thanks!):
|
This patch is now required as macOS runners switched to ARM (see actions/setup-python#855).
FYI: The problem seems to also happen with more recent versions, e.g. python 3.12: |
Workaround for problems with setup-python: actions/setup-python#855
Change from macos-latest to macos-13 since older versions of python were are seemingly not available for macos-latest. Relevant issue and suggested fix from here: actions/setup-python#855
Change from macos-latest to macos-13 since older versions of python were are seemingly not available for macos-latest. Relevant issue and suggested fix from here: actions/setup-python#855
Hello Everyone, The actions/setup-python repository does not support x64 packages for Python <3.11 version on macOS arm64 runners due to compatibility and build issues. The build process for Python versions less than 3.11 involves downloading the official Python sources from python.org and building them using the make tool on the oldest available version of macOS that was available when that Python version was released. This is done to ensure backward compatibility for those Python versions as mentioned in this python-versions documentation. |
Description:
Trying to use Python-x64 on macos-14-arm64 fails
Action version:
v5
Platform:
Runner type:
Tools version:
python 3.7, 3.8, .3.9, 3.10
Repro steps:
setup-python
Expected behavior:
python is set up and works
Actual behavior:
and
The text was updated successfully, but these errors were encountered: