From be854f71c7a420423fc98bc0ffdecec68c5cabbe Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 10 Dec 2024 10:12:10 +0100 Subject: [PATCH] [CI] Use mamba solver on AppVeyor --- ci/appveyor-cpp-setup.bat | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/ci/appveyor-cpp-setup.bat b/ci/appveyor-cpp-setup.bat index f9463e5074225..130b030feaad6 100644 --- a/ci/appveyor-cpp-setup.bat +++ b/ci/appveyor-cpp-setup.bat @@ -41,18 +41,18 @@ conda config --set show_channel_urls True conda config --set remote_connect_timeout_secs 12 @rem Workaround for ARROW-13636 conda config --append disallowed_packages pypy3 +@rem Use conda-forge exclusively +conda config --add channels conda-forge +conda config --remove channels defaults conda info -a @rem @rem Install Python to the base environment @rem -conda install -q -y -c conda-forge python=%PYTHON% || exit /B - -@rem Can't use conda-libmamba-solver 2.0.0 -conda config --set solver classic +conda install -q -y python=%PYTHON% || exit /B @rem Update for newer CA certificates -conda update -q -y -c conda-forge --all || exit /B +conda update -q -y --all || exit /B @rem @rem Create conda environment @@ -66,11 +66,8 @@ if "%ARROW_BUILD_GANDIVA%" == "ON" ( ) @rem Install pre-built "toolchain" packages for faster builds set CONDA_PACKAGES=%CONDA_PACKAGES% --file=ci\conda_env_cpp.txt -@rem Force conda to use conda-forge -conda config --add channels conda-forge -conda config --remove channels defaults @rem Arrow conda environment -conda create -n arrow -y -c conda-forge ^ +conda create -n arrow -y ^ --file=ci\conda_env_python.txt ^ %CONDA_PACKAGES% ^ "ccache" ^