diff --git a/ci/docker/conda-cpp.dockerfile b/ci/docker/conda-cpp.dockerfile index 688c7a4997c..1bf4413cfc1 100644 --- a/ci/docker/conda-cpp.dockerfile +++ b/ci/docker/conda-cpp.dockerfile @@ -22,6 +22,10 @@ FROM ${repo}:${arch}-conda COPY ci/scripts/install_minio.sh /arrow/ci/scripts RUN /arrow/ci/scripts/install_minio.sh latest /opt/conda +# Unless overriden use Python 3.10 +# Google GCS fails building with Python 3.11 at the moment. +ARG python=3.10 + # install the required conda packages into the test environment COPY ci/conda_env_cpp.txt \ ci/conda_env_gandiva.txt \ @@ -31,6 +35,7 @@ RUN mamba install -q -y \ --file arrow/ci/conda_env_gandiva.txt \ compilers \ doxygen \ + python=${python} \ valgrind && \ mamba clean --all