apache / apache/arrow

[Python] `pyarrow` fails to install on PowerPC because Python (?) does not recognize the target: `not a supported wheel on this platform`

Open
#43,067 5 comments 0 reactions 0 assignees View on GitHub
Component: Python installation Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

I tried to build `pyarrow` on my PowerPC machine and got the following error at destroot:
```
Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apache-arrow/py311-pyarrow/work/arrow-16.1.0/python" && pip-3.11 install --ignore-installed --no-cache-dir --no-dependencies --root /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apache-arrow/py311-pyarrow/work/destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apache-arrow/py311-pyarrow/work/arrow-16.1.0/python/dist/pyarrow-16.1.0-cp311-cp311-macosx_10_6_ppc.whl
ERROR: pyarrow-16.1.0-cp311-cp311-macosx_10_6_ppc.whl is not a supported wheel on this platform.
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apache-arrow/py311-pyarrow/work/arrow-16.1.0/python" && pip-3.11 install --ignore-installed --no-cache-dir --no-dependencies --root /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apache-arrow/py311-pyarrow/work/destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_apache-arrow/py311-pyarrow/work/arrow-16.1.0/python/dist/pyarrow-16.1.0-cp311-cp311-macosx_10_6_ppc.whl
Exit code: 1
```

I am pretty sure this is something silly like a definition is missing somewhere, but I do not know where to look. Could you help me?

The build itself works, AFAICT, we only need to allow it to install.

### Component(s)

Python

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.