Comments (6)
More information on the hosted runner on which this failure occurred:
Current runner version: '2.316.1'
Operating System
macOS
14.4.1
23E224
Runner Image
Image: macos-14-arm64
Version: 20240422.3
Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20240422.3/images/macos/macos-14-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20240422.3
Runner Image Provisioner
2.0.369.1+55cddbb57f254a369b6e7b3b508cebdbee5d24be
GITHUB_TOKEN Permissions
Contents: read
Metadata: read
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v3' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
Download action repository 'actions/setup-python@v4' (SHA:65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236)
Download action repository 'actions/cache@v4' (SHA:0c45773b623bea8c8e75f6c82b208c3cf94ea4f9)
Download action repository 'codecov/[email protected]' (SHA:e0b68c6749509c5f83f984dd99a76a1c1a231044)
Complete job name: test (3.10, macos-latest, pip, x64)
from setup-python.
Hello @sr-murthy
Thank you for creating this issue. We will investigate it and get back to you as soon as we have some feedback.
from setup-python.
duplicate of #855
from setup-python.
Thanks. I guess switching to macos-13
is a solution for now.
from setup-python.
Hello @sr-murthy, 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.
However, this build process can run into compatibility issues on macOS arm64 runners. The arm64 architecture is used in Apple's newer Mac models that use Apple Silicon processors, which are based on a different instruction set than the x86-64 processors used in older models.
Therefore, the built Python packages for versions less than 3.11 may trigger the issues like few modules missing on macOS arm64 runners. This is why the actions/setup-python repository does not support x64 packages for <Python 3.11 versions on macOS arm64 runners.
For Python versions 3.11 and onwards, the actions/setup-python repository uses the official macOS universal2 Python binaries from python.org, which are compatible with both x86-64 and arm64 architectures. These can be used on macOS arm64 runners without any issues.
For Arm64 platform, we use official macOS universal2 Python binaries and provide only versions which are provided by Python org.
Hence we are closing this issue as x64 packages for < python 3.11 from source will not be supported by macos arm64 runners.
Please feel free to reach us needed to reopen this issue for more clarifications.
from setup-python.
@aparnajyothi-y Thanks for investigating this, it's not a problem as there is a workaround of not using ARM runners for testing the pipeline with Python 3.10.
from setup-python.
Related Issues (20)
- Custom setuptools version HOT 12
- Cannot load Python modules if they are in a directory named "test" HOT 6
- Python 3.7/8/9/10 on Darwin runners fails: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib HOT 6
- Missing support for Python 3.8 on Ubuntu 24.04 runner HOT 1
- Caching doesn't seem to save that much time HOT 5
- Version not found when using new arm-based linux runners (ubuntu 22.04) HOT 3
- Add Python 3.12.4 (released 2 days ago) HOT 5
- [Feature Request] Add Python debug builds with `Py_DEBUG` flag HOT 1
- Python 3.12.4: Extract downloaded archive; gzip: stdin: not in gzip format HOT 22
- is python 3.12.4 download assets broken HOT 6
- Python 3.13 fails to install on windows: Offset to Central Directory cannot be held in an Int64. HOT 4
- Verify checksum of downloaded version archive HOT 1
- Support os-release standard HOT 2
- setup-python CI workflows have been broken for more than 2 months HOT 1
- Sporadically missing patch versions on python-versions for arm64 HOT 2
- `python-version-file` does not support multiple versions HOT 1
- Cannot parse version number from TOML 1.0.0 pyproject.toml file HOT 3
- Associate .py with python on Windows HOT 1
- Ability to set desired version of pip, or to not update it at all HOT 3
- Python version '3.12.x' with architecture 'arm64' was not found for Ubuntu 24.04
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-python.