From dcc414824da978c01d5828a5c5afb3f3654827a9 Mon Sep 17 00:00:00 2001 From: "Peter J. A. Cock" Date: Tue, 17 Jun 2025 10:28:59 +0900 Subject: [PATCH] miniconda -> miniforge for AppVeyor Should fix recent issue with failing to download miniconda. Using miniforge is recommended by conda-forge. --- .appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 7c73d7c87..d10d87cfd 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -5,7 +5,7 @@ os: Visual Studio 2015 environment: matrix: - # String fragments for URLs at https://repo.anaconda.com/miniconda/ + # String fragments for URLs at https://github.com/conda-forge/miniforge/releases/ - PY_MAJOR_VER: "3" PYTHON_ARCH: "x86_64" @@ -30,7 +30,7 @@ build_script: https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | ` Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are newer queued builds for this pull request, failing early." } - - ps: Start-FileDownload "https://repo.continuum.io/miniconda/Miniconda$env:PY_MAJOR_VER-latest-Windows-$env:PYTHON_ARCH.exe" C:\Miniconda.exe; echo "Finished downloading miniconda" + - ps: Start-FileDownload "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge$env:PY_MAJOR_VER-Windows-$env:PYTHON_ARCH.exe" C:\Miniconda.exe; echo "Finished downloading miniconda" - ps: start -Wait -FilePath C:\Miniconda.exe -ArgumentList "/S /D=C:\Py" - SET PATH=C:\Py;C:\Py\Scripts;C:\Py\Library\bin;%PATH% - conda config --set always_yes yes