From 9f738563c6f48f88491243548540f08ea9f0ef10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Tue, 25 Oct 2022 15:35:42 +0200 Subject: [PATCH 1/2] [CI] Temporary pin Python required for GCS on conda builds. --- ci/docker/conda-cpp.dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/docker/conda-cpp.dockerfile b/ci/docker/conda-cpp.dockerfile index 688c7a4997c..ec7eb491219 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 \ @@ -29,6 +33,7 @@ COPY ci/conda_env_cpp.txt \ RUN mamba install -q -y \ --file arrow/ci/conda_env_cpp.txt \ --file arrow/ci/conda_env_gandiva.txt \ + python=${python} \ compilers \ doxygen \ valgrind && \ From 9baff00005ac1e5b84dbf642da709a35a4581bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Tue, 25 Oct 2022 23:38:43 +0200 Subject: [PATCH 2/2] Fix sorting alphabetically --- ci/docker/conda-cpp.dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/docker/conda-cpp.dockerfile b/ci/docker/conda-cpp.dockerfile index ec7eb491219..1bf4413cfc1 100644 --- a/ci/docker/conda-cpp.dockerfile +++ b/ci/docker/conda-cpp.dockerfile @@ -33,9 +33,9 @@ COPY ci/conda_env_cpp.txt \ RUN mamba install -q -y \ --file arrow/ci/conda_env_cpp.txt \ --file arrow/ci/conda_env_gandiva.txt \ - python=${python} \ compilers \ doxygen \ + python=${python} \ valgrind && \ mamba clean --all