[ https://issues.apache.org/jira/browse/ARROW-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-4724. --------------------------------- Resolution: Fixed Fix Version/s: 0.13.0 Issue resolved by pull request 3869 [https://github.com/apache/arrow/pull/3869] > [C++] Python not being built nor test under MinGW builds > -------------------------------------------------------- > > Key: ARROW-4724 > URL: https://issues.apache.org/jira/browse/ARROW-4724 > Project: Apache Arrow > Issue Type: Test > Components: C++ > Reporter: Javier Luraschi > Assignee: Kouhei Sutou > Priority: Major > Labels: pull-request-available > Fix For: 0.13.0 > > Time Spent: 10m > Remaining Estimate: 0h > > Follow up to needed forĀ > [arrow/pull/3693/files|https://github.com/apache/arrow/pull/3693/files]. > appveyor-cpp-build-mingw.bat has not yet enabled Python tests, need to revert, > -DARROW_PYTHON=OFF > Suggestion was to use, > {code:java} > diff --git a/ci/appveyor-cpp-build-mingw.bat b/ci/appveyor-cpp-build-mingw.bat > index 06e8b7f7..3a853031 100644 > --- a/ci/appveyor-cpp-build-mingw.bat > +++ b/ci/appveyor-cpp-build-mingw.bat > @@ -24,6 +24,15 @@ set INSTALL_DIR=%HOMEDRIVE%%HOMEPATH%\install > set PATH=%INSTALL_DIR%\bin;%PATH% > set PKG_CONFIG_PATH=%INSTALL_DIR%\lib\pkgconfig > +for /f "usebackq" %%v in (`python3 -c "import sys; print('.'.join(map(str, > sys.version_info[0:2])))"`) do ( > + set PYTHON_VERSION=%%v > +) > + > +set PYTHONHOME=%MINGW_PREFIX%\lib\python%PYTHON_VERSION% > +set PYTHONPATH=%PYTHONHOME% > +set > PYTHONPATH=%PYTHONPATH%;%MINGW_PREFIX%\lib\python%PYTHON_VERSION%\lib-dynload > +set > PYTHONPATH=%PYTHONPATH%;%MINGW_PREFIX%\lib\python%PYTHON_VERSION%\site-packages > + > {code} > However, this suggestion currently trigger a built error in Travis, > {code:java} > [ 43%] Building CXX object > src/arrow/CMakeFiles/arrow_objlib.dir/ipc/json-simple.cc.obj > [ 44%] Building CXX object > src/arrow/CMakeFiles/arrow_objlib.dir/ipc/message.cc.obj > [ 44%] Building CXX object > src/arrow/CMakeFiles/arrow_objlib.dir/ipc/metadata-internal.cc.obj > [ 45%] Building CXX object > src/arrow/CMakeFiles/arrow_objlib.dir/ipc/reader.cc.obj > [ 45%] Building CXX object > src/arrow/CMakeFiles/arrow_objlib.dir/ipc/writer.cc.obj > [ 45%] Built target arrow_objlib > make: *** [Makefile:141: all] Error 2 > C:\projects\arrow\cpp\build>goto scriptexit{code} > Therefore, additional investigation is needed. -- This message was sent by Atlassian JIRA (v7.6.3#76005)