[bug] datatable-1.1.0-cp311-cp311-macosx_10_9_universal2.whl seems to include only x86_64 .so files

Open
#3,488 0 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, macos, python
Domain
build-system

Research direction

Start by inspecting the packaging and wheel-build process for datatable-1.1.0-cp311-cp311-macosx_10_9_universal2.whl, then examine the bundled datatable/lib/_datatable.cpython-311-darwin.so reported in the traceback. Reproduce the import on an arm64 Mac and verify that the published universal2 wheel contains a compatible arm64 binary as well as x86_64.

Written by the indexing model from the issue text.

Description

  • How to reproduce the bug?
$ pip install datatable
Collecting datatable
  Downloading datatable-1.1.0-cp311-cp311-macosx_10_9_universal2.whl.metadata (1.8 kB)
Downloading datatable-1.1.0-cp311-cp311-macosx_10_9_universal2.whl (8.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 2.5 MB/s eta 0:00:00
Installing collected packages: datatable
Successfully installed datatable-1.1.0
Type "help", "copyright", "credits" or "license" for more information.
>>> import datatable
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/thomas/.virtualenvs/app/lib/python3.11/site-packages/datatable/__init__.py", line 23, in <module>
    from .frame import Frame
  File "/Users/thomas/.virtualenvs/app/lib/python3.11/site-packages/datatable/frame.py", line 23, in <module>
    from datatable.lib._datatable import Frame
  File "/Users/thomas/.virtualenvs/app/lib/python3.11/site-packages/datatable/lib/__init__.py", line 31, in <module>
    from . import _datatable as core
ImportError: dlopen(/Users/thomas/.virtualenvs/app/lib/python3.11/site-packages/datatable/lib/_datatable.cpython-311-darwin.so, 0x0002): tried: '/Users/thomas/.virtualenvs/app/lib/python3.11/site-packages/datatable/lib/_datatable.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/thomas/.virtualenvs/app/lib/python3.11/site-packages/datatable/lib/_datatable.cpython-311-darwin.so' (no such file), '/Users/thomas/.virtualenvs/app/lib/python3.11/site-packages/datatable/lib/_datatable.cpython-311-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
>>>
  • Your environment?
    python 3.11 macbook pro M3
Dominant language
C++
Stars
1.9k
Forks
164
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from h2oai/datatable

All issues in h2oai/datatable

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.