After spending a bit more time on this, it looks like the problem may be 
related to the structure of PyArrow and its build system being changed since 
the previous time I synced. I found PyArrow C++ source has moved to 
`python/pyarrow/src` and has a separate `CMakeLists.txt` root. However, I 
couldn't get it to build nor find instructions for doing so, and I suspect the 
build problem I described earlier here would get fixed with this build.

Could anyone explain how the PyArrow build works now?


Cheers,
Yaron.
________________________________
From: Yaron Gvili <rt...@hotmail.com>
Sent: Sunday, September 11, 2022 9:57 AM
To: dev@arrow.apache.org <dev@arrow.apache.org>
Subject: PyArrow build problem

Hi All,

I got the error below while running "cd python/ && python setup.py build_ext 
--inplace", after successfully building and installing a recent master version 
(a63e60bad89b41266d155bc496eb383765702492) of Arrow C++ under a pyarrow-dev 
Conda environment, as in the Python dev doc 
(https://arrow.apache.org/docs/developers/python.html). I didn't have a problem 
with this environment until now. Anyone have an idea how to fix the error?

CMake Error at 
/miniconda3/envs/pyarrow-dev/lib/cmake/Parquet/ParquetConfig.cmake:65 
(arrow_keep_backward_compatibility):
  Unknown CMake command "arrow_keep_backward_compatibility".
Call Stack (most recent call first):
  
/miniconda3/envs/pyarrow-dev/share/cmake-3.23/Modules/CMakeFindDependencyMacro.cmake:47
 (find_package)
  
/miniconda3/envs/pyarrow-dev/lib/cmake/ArrowDataset/ArrowDatasetConfig.cmake:55 
(find_dependency)
  CMakeLists.txt:123 (find_package)


Cheers,
Yaron.

Reply via email to