Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vdsql Installation Fails on macOS: pyarrow Build Error (Missing ‘Wrap’ Member for Decimal Types) #2697

Open
hanexthink opened this issue Feb 5, 2025 · 0 comments

Comments

@hanexthink
Copy link

Small description
Installation of vdsql fails because the build of the pyarrow dependency errors out. The error appears to be caused by missing members (e.g. Wrap) in the specialized template (for Decimal types) during the compilation process on macOS with AppleClang and Python 3.13.

Data to reproduce

# Create and activate a new virtual environment with Python 3.13
python3.13 -m venv venv
source venv/bin/activate

# Attempt to install vdsql (which depends on pyarrow)
pip install visidta
pip install vdsql

Steps to reproduce

  1. On macOS (running on Apple Silicon, in this case macOS 15.3), install Python 3.13.
  2. Create and activate a virtual environment using Python 3.13.
  3. Run the command:

pip install vdsql

  1. Observe that pip starts resolving dependencies and eventually fails when attempting to build the wheel for pyarrow.

Expected result

The installation should complete successfully without build errors. The pyarrow package should build (or a pre-built wheel should be used) so that vdsql installs without issues.

Actual result with screenshot
The installation fails during the build of pyarrow with errors such as:
Image

Configuration

  • Does this issue reproduce without any plugins or configuration (using the -N CLI flag)?
    Yes, this issue is reproducible in a clean virtual environment with no additional plugins or configuration.

  • Does this issue reproduce with either the latest release, or with the develop branch?
    The issue was observed using the dependencies as resolved for vdsql (and indirectly for pyarrow) on the develop/stable(v3.1.1) branch

Additional context

  • What platform and version are you using (Linux, MacOS, Windows)?
    Platform and version: macOS 15.3 (Apple Silicon, with AppleClang 16.0.0)

  • Which version of Python?
    Python version: 3.13.1

  • Which terminal are you using (for display and input issues)?
    Terminal: Using the default macOS iTerm2

  • Additional notes:
    The error message indicates that during the build process for pyarrow, a call to a template method (specifically for arrow::Decimal32Type and arrow::Decimal64Type) fails because the expected Wrap member function is missing. This might suggest an incompatibility between the latest source code for Arrow (or its Python bindings) and either the AppleClang compiler or the Python 3.13 environment. It may also be worth checking if a pre-built wheel exists for your configuration or if additional flags (or updates to dependencies) are required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants