arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alina Valea <ava...@gmail.com>
Subject Re: [python] Unable to build a python 3.8 wheel
Date Mon, 15 Mar 2021 10:03:28 GMT
YESSS. Thanks Kou, your suggestion worked. I now have a brand new shiny
python 3.8 wheel.

Alina

On Sun, Mar 14, 2021 at 11:18 PM Sutou Kouhei <kou@clear-code.com> wrote:

> Hi,
>
> Could you try
>
>   PYTHON=3.8 docker-compose run python-wheel-manylinux-2014
>
> instead of "docker-compose run -e ..."?
>
>
> Thanks,
> --
> kou
>
> In <CAMFtxTdM54EhHQo=7ESVT29gPbepChR46YnnqGM8f=VTbYLQ_Q@mail.gmail.com>
>   "Re: [python] Unable to build a python 3.8 wheel" on Sun, 14 Mar 2021
> 21:24:02 +0000,
>   Alina Valea <avalea@gmail.com> wrote:
>
> > I did change the python version to 3.8 in
> >
> https://github.com/apache/arrow/blob/ad4504e8e85eb8e5babe0f01ca8cf9947499fc40/ci/docker/python-wheel-manylinux-201x.dockerfile#L94-L97
> > but the wheel was still built with python 3.6.
> >
> > On Sun, Mar 14, 2021, 5:50 PM Ian Cook <ian@ursacomputing.com> wrote:
> >
> >> If the image was built with python-wheel-manylinux-201x.dockerfile,
> these
> >> lines might explain the behavior:
> >>
> >>
> https://github.com/apache/arrow/blob/ad4504e8e85eb8e5babe0f01ca8cf9947499fc40/ci/docker/python-wheel-manylinux-201x.dockerfile#L94-L97
> >>
> >> Ian
> >>
> >> On Sun, Mar 14, 2021 at 10:35 AM Alina Valea <avalea@gmail.com> wrote:
> >>
> >>> Hello,
> >>>
> >>> I am trying to build a stripped down python 3.8 wheel from tag apache-
> >>> arrow-3 <https://issues.apache.org/jira/browse/ARROW-3>.0.0. I am
> >>> building it using
> >>>
> >>> docker-compose run -e PYTHON=3.8 -e PYTHON_VERSION=3.8
> >>> python-wheel-manylinux-2014
> >>> however, it is being built using python 3.6.
> >>>
> >>> The final wheel gets tagged with
> >>> pyarrow-3.0.0-cp36-cp36m-manylinux2014_x86_64.whl and looking through
> the
> >>> build log I can see that cmake decides to use python 3.6 even though
> python
> >>> 3.8 is available in the manylinux image.
> >>>
> >>> cmake -DARROW_BROTLI_USE_SHARED=OFF -DARROW_BUILD_SHARED=ON
> -DARROW_BUILD_STATIC=OFF -DARROW_BUILD_TESTS=OFF -DARROW_DATASET=ON
> -DARROW_DEPENDENCY_SOURCE=SYSTEM -DARROW_DEPENDENCY_USE_SHARED=OFF
> -DARROW_FLIGHT==OFF -DARROW_GANDIVA=OFF -DARROW_HDFS=OFF
> -DARROW_JEMALLOC=ON -DARROW_MIMALLOC=ON -DARROW_ORC=OFF
> -DARROW_PACKAGE_KIND=manylinux2014 -DARROW_PARQUET=ON -DARROW_PLASMA=OFF
> -DARROW_PYTHON=ON -DARROW_RPATH_ORIGIN=ON -DARROW_S3=OFF
> -DARROW_TENSORFLOW=OFF -DARROW_USE_CCACHE=ON
> -DARROW_UTF8PROC_USE_SHARED=OFF -DARROW_WITH_BROTLI=OFF
> -DARROW_WITH_BZ2=OFF -DARROW_WITH_LZ4=ON -DARROW_WITH_SNAPPY=ON
> -DARROW_WITH_ZLIB=ON -DARROW_WITH_ZSTD=ON -DCMAKE_BUILD_TYPE=release
> -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/tmp/arrow-dist
> -DCMAKE_TOOLCHAIN_FILE=/opt/vcpkg/scripts/buildsystems/vcpkg.cmake
> -DCMAKE_UNITY_BUILD=OFF -DOPENSSL_USE_STATIC_LIBS=ON
> -DThrift_ROOT=/opt/vcpkg/installed/x64-linux/lib
> -DVCPKG_TARGET_TRIPLET=x64-linux-static-release -G Ninja /arrow/cpp
> >>>
> >>> -- Building using CMake version: 3.19.2
> >>>
> >>> -- The C compiler identification is GNU 9.3.1
> >>>
> >>> -- The CXX compiler identification is GNU 9.3.1
> >>>
> >>> -- Detecting C compiler ABI info
> >>>
> >>> -- Detecting C compiler ABI info - done
> >>>
> >>> -- Check for working C compiler: /opt/rh/devtoolset-9/root/usr/bin/cc
> - skipped
> >>>
> >>> -- Detecting C compile features
> >>>
> >>> -- Detecting C compile features - done
> >>>
> >>> -- Detecting CXX compiler ABI info
> >>>
> >>> -- Detecting CXX compiler ABI info - done
> >>>
> >>> -- Check for working CXX compiler:
> /opt/rh/devtoolset-9/root/usr/bin/c++ - skipped
> >>>
> >>> -- Detecting CXX compile features
> >>>
> >>> -- Detecting CXX compile features - done
> >>>
> >>> -- Arrow version: 3.0.0 (full: '3.0.0')
> >>>
> >>> -- Arrow SO version: 300 (full: 300.0.0)
> >>>
> >>> -- clang-tidy not found
> >>>
> >>> -- clang-format not found
> >>>
> >>> -- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN)
> >>>
> >>> -- infer not found
> >>>
> >>> -- Found Python3: /opt/python/cp36-cp36m/bin/python3.6 (found version
> "3.6.12") found components: Interpreter
> >>>
> >>> Am I missing some config to make it build a python 3.8 wheel?
> >>>
> >>> Thanks.
> >>>
> >>>
> >>>
> >>>
>

Mime
View raw message