You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
python <3.10 fails on macos-14 with dyld: Library not loaded #825
##[group]Run actions/setup-python@v5
with:
python-version: 3.9
architecture: x64
check-latest: false
token: ***
update-environment: true
allow-prereleases: false
##[endgroup]
##[group]Installed versions
Version 3.9 was not found in the local cache
Version 3.9 is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/3.9.18-5997508477/python-3.9.18-darwin-x64.tar.gz"
Extract downloaded archive
[command]/usr/bin/tar xz -C /Users/runner/work/_temp/7b7aa7f9-b410-4ff2-b594-96144647b304 -f /Users/runner/work/_temp/5160d17b-778d-4d38-8d2e-ff031e5fc513
Execute installation script
Check if Python hostedtoolcache folder exist...
Create Python 3.9.18 folder
Copy Python binaries to hostedtoolcache folder
Create additional symlinks (Required for the UsePythonVersion Azure Pipelines task and the setup-python GitHub Action)
Upgrading pip...
##[error]dyld[3814]: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
Referenced from: <E2FD7085-038F-3B8E-94C6-6649527BFDBE> /Users/runner/hostedtoolcache/Python/3.
##[error]9.18/x64/bin/python3.9
Reason: tried: '/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache)
./setup.sh: line 52: 3814 Abort trap: 6 ./python -m ensurepip
##[error]The process '/bin/bash' failed with exit code 134
The pipeline succeeds for macos-13 or python > 3.9
Hello @mbway, Thank you once again for creating this issue.
We have reproduced the error in our local and found that the error is due to python <3.10 versions are not added to macos-14 runner image. Please find the screenshot for reference.
Please let us know in case of any further clarifications.
Hello @mbway, Thank you for the suggestion and we will look into it in future. For now we are closing this issue as setup-python is working as implemented.
Activity
v-HarithaVattikuti commentedon Mar 2, 2024
Hello @mbway
Thank you for creating this issue. We will investigate it and get back to you as soon as we have some feedback.
jmarrec commentedon Mar 8, 2024
macos-14 is an arm64 runner and you're explicitly requesting an "x64" architecture
mbway commentedon Mar 8, 2024
Good point. I can't remember if it also fails without that. Either way the error message isn't very informative
v-aparnajyothi-y commentedon Mar 21, 2024
Hello @mbway, Thank you once again for creating this issue.
We have reproduced the error in our local and found that the error is due to python <3.10 versions are not added to macos-14 runner image. Please find the screenshot for reference.
Please let us know in case of any further clarifications.
mbway commentedon Mar 21, 2024
ok that makes sense. So I suppose my suggestion would be that the error message for a requested version being missing should be clearer
v-aparnajyothi-y commentedon Mar 26, 2024
Hello @mbway, Thank you for the suggestion and we will look into it in future. For now we are closing this issue as setup-python is working as implemented.
Removing macos14 runner due to actions/setup-python#825
chore(ci): remove macos14 runner due to actions/setup-python#825
chore(ci): remove macos14 runner due to actions/setup-python#825
chore(ci): remove macos14 runner due to actions/setup-python#825
7 remaining items
up Python version in CI
The macos-14 image requires at least Python 3.10.
The macos-14 image requires at least Python 3.10.
The macos-14 image requires at least Python 3.10.
The macos-14 image requires at least Python 3.10.
The macos-14 image requires at least Python 3.10.
[REF] github-actions: Use macosx-latest only for py-latest and macosx…
[REF] github-actions: Use macosx-latest only for py-latest and macosx…
[REF] github-actions: Use macosx-latest only for py-latest and macosx…
[REF] github-actions: Use macosx-latest only for py-latest and macosx…
restrict to macos 13
Use older mascos image to support older python
Exclude MacOS 3.9 on x64
fix(release): smoke macOS arm64 too; hold the build lists to the clas…
fix(release): smoke macOS arm64 too; hold the build lists to the clas…