diff --git a/ci/appveyor-cpp-setup.bat b/ci/appveyor-cpp-setup.bat index fbb2cc2a71ca8..7b621a31b51d1 100644 --- a/ci/appveyor-cpp-setup.bat +++ b/ci/appveyor-cpp-setup.bat @@ -44,16 +44,12 @@ conda config --append disallowed_packages pypy3 conda info -a @rem -@rem Install mamba to the base environment +@rem Install Python to the base environment @rem -conda install -q -y -c conda-forge mamba python=%PYTHON% || exit /B - -@rem Ensure using the latest information. If there are invalid caches, -@rem mamba may use invalid download URL. -mamba clean --all -y +conda install -q -y -c conda-forge python=%PYTHON% || exit /B @rem Update for newer CA certificates -mamba update -q -y -c conda-forge --all || exit /B +conda update -q -y -c conda-forge --all || exit /B @rem @rem Create conda environment @@ -71,7 +67,7 @@ set CONDA_PACKAGES=%CONDA_PACKAGES% --file=ci\conda_env_cpp.txt conda config --add channels conda-forge conda config --remove channels defaults @rem Arrow conda environment -mamba create -n arrow -y -c conda-forge ^ +conda create -n arrow -y -c conda-forge ^ --file=ci\conda_env_python.txt ^ %CONDA_PACKAGES% ^ "ccache" ^