-
Notifications
You must be signed in to change notification settings - Fork 576
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
Python 3.9/3.10 on Darwin runners fails: Error: dyld[78135]: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib #906
Comments
Hello @chandapukiran, Thank you for creating this issue and 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. |
Hi @aparnajyothi-y , we use X86 based Mac OS Does the issue occur only with ARM based or X86 as well ? |
x86_64 means you use x64, not x86. However, installing Python 3.10 on Mac OS 13.6.5 x86_64 causes the same error as you have.
UPD. |
Hello @chandapukiran, @AShunevych , Thank you for the response and for Python versions less than 3.11, the official Python sources are downloaded from python.org, built using the make tool, and archived along with the installation script for further distribution & installation which will raise compatibility issues on both x86-64 and arm64 architectures. Please refer to this documentation. @AShunevych We have tested python3.11 package on macos-13 and it is successful. Please find the screenshot for reference and can you please share the workflow details to check the issue and assist further. |
Hello @chandapukiran, Please let us know if you still have any concerns/questions on the above information. |
Thank you @aparnajyothi-y , no other questions |
Description:
A clear and concise description of what the bug is.
Builds with version 3.9-3.10 fails but 3.11 - 3.12 works
ProductName: macOS
ProductVersion: 13.5.2
x86_64
Action version:
Specify the action version
Platform:
Runner type:
Tools version:
Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.
Expected behavior:
A description of what you expected to happen.
Successful installation
Actual behavior:
Failed installation
The text was updated successfully, but these errors were encountered: