To update others who might find this thread:
If you start running into Arrow building problems upon updates to the
Arrow codebase, I recommend first deleting stale build artifacts from
previous builds:
https://arrow.apache.org/docs/dev/developers/python.html#deleting-stale-build-artifacts
.
For current `master` and 10.0.0, additionally you may need to export
`CMAKE_PREFIX_PATH` with the path where Arrow is installed (which is
`$ARROW_HOME` for the standard environment):
https://arrow.apache.org/docs/dev/cpp/build_system.html
This is the Arrow JIRA where these were documented:
https://issues.apache.org/jira/browse/ARROW-17753
Best,
Anja
On 2022/09/11 13:57:53 Yaron Gvili wrote:
> 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.
>