apache / apache/datafusion-ballista-python

Python 3.11.2: pip install -r requirements-310.txt fails

Aberta
#35 2 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
Shell
Estrelas
42
Forks
9
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**Describe the bug**
os: macOS 13.3
python: v3.11.2 (venv)

python -m pip install -r requirements-310.txt

```shell
Configured for RELEASE build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
-- Build Type: RELEASE
-- Generator: Unix Makefiles
-- Build output directory: /private/var/folders/cp/ckllsv255631cqswdnxgb5ch0000gn/T/pip-install-c9_6i9ae/pyarrow_1d986c71873643a0a659c11814f85083/build/temp.macosx-13-x86_64-cpython-311/release
-- Found Python3: /Users/r4ntix/Workspace/github/arrow-ballista-python/venv/bin/python (found version "3.11.2") found components: Interpreter Development.Module NumPy
-- Found Python3Alt: /Users/r4ntix/Workspace/github/arrow-ballista-python/venv/bin/python
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Could NOT find Arrow (missing: Arrow_DIR)
-- Checking for module 'arrow'
-- No package 'arrow' found
CMake Error at /usr/local/Cellar/cmake/3.26.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Arrow (missing: ARROW_INCLUDE_DIR ARROW_LIB_DIR
ARROW_FULL_SO_VERSION ARROW_SO_VERSION)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.26.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindArrow.cmake:450 (find_package_handle_standard_args)
cmake_modules/FindArrowPython.cmake:46 (find_package)
CMakeLists.txt:231 (find_package)

-- Configuring incomplete, errors occurred!
error: command '/usr/local/bin/cmake' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyarrow
Successfully built numpy
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects
```

**To Reproduce**
👆

**Expected behavior**

**Additional context**

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Reproduce the failure with `python -m pip install -r requirements-310.txt` on the reported Python 3.11.2 macOS setup. Then inspect `CMakeLists.txt`, `cmake_modules/FindArrow.cmake`, and `cmake_modules/FindArrowPython.cmake` around the reported package lookup. Done means the requirements install completes without the pyarrow build failure, though the issue does not specify the intended dependency or platform change.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
cmake, python
Domínio
build-system, data-engineering
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.