I did change the python version to 3.8 in 
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:


On Sun, Mar 14, 2021 at 10:35 AM Alina Valea <avalea@gmail.com> wrote:


I am trying to build a stripped down python 3.8 wheel from tag apache-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.

-- 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?