v6d icon indicating copy to clipboard operation
v6d copied to clipboard

Python package for ARM64 systems

Open metalcycling opened this issue 4 months ago • 0 comments

Hi Vineyard team,

I'm installing Vineyard using uv pip install vineyard on a Macbook Pro with an M4 chip. However, I can't use the library because the pip wheels are not available for arm64 systems, only x86_64. From what I understand, it is possible to have the arm64 support using brew install vineyard, but it would be great to have the Python option.

How to reproduce:

metalcycling@macbook:~$ uname -m
arm64
metalcycling@macbook:~$ uv venv ~/.venv/networking
Using CPython 3.12.11
Creating virtual environment at: .venv/networking
Activate with: source .venv/networking/bin/activate
metalcycling@macbook:~$ source ~/.venv/networking/bin/activate
(networking) metalcycling@macbook:~$ uv pip install --no-cache-dir vineyard
Using Python 3.12.11 environment at: .venv/networking
Resolved 19 packages in 1.15s
      Built lazy-import==0.2.2
Prepared 18 packages in 4.82s
Installed 19 packages in 85ms
 + argcomplete==3.6.2
 + click==8.2.1
 + etcd-distro==3.5.1
 + lazy-import==0.2.2
 + makefun==1.16.0
 + numpy==2.3.1
 + pandas==2.3.0
 + psutil==7.0.0
 + pyarrow==20.0.0
 + python-dateutil==2.9.0.post0
 + pytz==2025.2
 + pyyaml==6.0.2
 + setuptools==80.9.0
 + six==1.17.0
 + sortedcontainers==2.4.0
 + treelib==1.7.1
 + tzdata==2025.2
 + vineyard==0.21.5
 + vineyard-bdist==0.21.5
(networking) metalcycling@macbook:~$ file ~/.venv/networking/lib/python3.12/site-packages/vineyard/_C.cpython-312-darwin.so
/Users/metalcycling/.venv/networking/lib/python3.12/site-packages/vineyard/_C.cpython-312-darwin.so: **Mach-O 64-bit bundle x86_64**
(networking) metalcycling@macbook:~$ file ~/.venv/networking/lib/python3.12/site-packages/pyarrow/_parquet.cpython-312-darwin.so # For reference
/Users/metalcycling/.venv/networking/lib/python3.12/site-packages/pyarrow/_parquet.cpython-312-darwin.so: **Mach-O 64-bit bundle arm64**

metalcycling avatar Jun 24 '25 22:06 metalcycling