Skip to content

Commit cef9f0a

Browse files
authored
Pin miniconda install to py310_23.5.2 for macos and windows (#1460)
1 parent e29c929 commit cef9f0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conda/build_pytorch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ if [[ "$(uname)" == 'Darwin' ]]; then
201201
miniconda_sh="${MAC_PACKAGE_WORK_DIR}/miniconda.sh"
202202
rm -rf "$tmp_conda"
203203
rm -f "$miniconda_sh"
204-
retry curl -sS https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o "$miniconda_sh"
204+
retry curl -sS https://repo.anaconda.com/miniconda/Miniconda3-py310_23.5.2-0-MacOSX-x86_64.sh -o "$miniconda_sh"
205205
chmod +x "$miniconda_sh" && \
206206
"$miniconda_sh" -b -p "$tmp_conda" && \
207207
rm "$miniconda_sh"
@@ -212,7 +212,7 @@ elif [[ "$OSTYPE" == "msys" ]]; then
212212
export miniconda_exe="${WIN_PACKAGE_WORK_DIR}\\miniconda.exe"
213213
rm -rf "$tmp_conda"
214214
rm -f "$miniconda_exe"
215-
curl -sSk https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -o "$miniconda_exe"
215+
curl -sSk https://repo.anaconda.com/miniconda/Miniconda3-py310_23.5.2-0-Windows-x86_64.exe -o "$miniconda_exe"
216216
"$SOURCE_DIR/install_conda.bat" && rm "$miniconda_exe"
217217
pushd $tmp_conda
218218
export PATH="$(pwd):$(pwd)/Library/usr/bin:$(pwd)/Library/bin:$(pwd)/Scripts:$(pwd)/bin:$PATH"

0 commit comments

Comments
 (0)