apache / apache/arrow

C++ project doesn't need to require Numpy with ARROW_PYTHON=ON because it only builds Python extension's support libraries

Open
#32,150 1 comment 0 reactions 0 assignees View on GitHub
Component: Python Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

Currently it fails to configure when Numpy is missing.

**Reporter**: [Yuri](https://issues.apache.org/jira/browse/ARROW-16820) / @yurivict
#### Related issues:
- [[Python] Make NumPy an optional runtime dependency](https://github.com/apache/arrow/issues/25118) (relates to)

**Note**: *This issue was originally created as [ARROW-16820](https://issues.apache.org/jira/browse/ARROW-16820). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Contributor guide

Open the contributing guide

Research direction

Start by reproducing configuration with ARROW_PYTHON=ON in an environment where NumPy is missing. Inspect the configuration path for the Python extension support libraries and identify why NumPy is required. Done means the C++ project configures successfully without NumPy when only those support libraries are being built.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.