-
Notifications
You must be signed in to change notification settings - Fork 4k
Description
Describe the bug, including details regarding any error messages, version, and platform.
#14832 switched on the test suite within the conda-builds, which itself synced with conda-forge/arrow-cpp-feedstock#875
In the process of doing so test_get_include was skipped,
arrow/dev/tasks/conda-recipes/arrow-cpp/meta.yaml
Lines 382 to 383 in 2c768a1
| # test is broken; header is in $PREFIX, not $SP_DIR | |
| {% set tests_to_skip = tests_to_skip + " or (test_misc and test_get_include)" %} # [unix] |
I believe that is broken now that the C/C++ lib is separate. In particular, the test is looking for include/arrow/api.h (rather than, say, include/arrow/pyarrow/api.h) in the (python-specific) site-packages directory, but the C/C++ headers are now in $PREFIX/include/arrow/.... Interestingly, this passes on windows, because the windows build just seems to copy the C/C++ headers to the %SP_DIR% as well (in addition to the ones correctly put into %LIBRARY_INC%). My outsider's impression is that the test should be adapted (and that windows shouldn't copy the non-python headers to %SP_DIR%).
To fix this, the line quoted above should be removed, and the conda tests still pass.
Component(s)
Continuous Integration, Python