10000 Pin conda-build to 3.28.4 (#1698) · pytorch/builder@196b77b · GitHub
[go: up one dir, main page]

Skip to content

Commit 196b77b

Browse files
authored
Pin conda-build to 3.28.4 (#1698)
1 parent 96bd851 commit 196b77b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

conda/build_pytorch.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ if [[ "$(uname)" == 'Darwin' ]]; then
208208
"$miniconda_sh" -b -p "$tmp_conda" && \
209209
rm "$miniconda_sh"
210210
export PATH="$tmp_conda/bin:$PATH"
211-
retry conda install -yq conda-build
211+
# TODO(huydhn): We can revert the pin after https://github.com/conda/conda-build/issues/5167 is resolved
212+
retry conda install -yq conda-build=3.28.4
212213
elif [[ "$OSTYPE" == "msys" ]]; then
213214
export tmp_conda="${WIN_PACKAGE_WORK_DIR}\\conda"
214215
export miniconda_exe="${WIN_PACKAGE_WORK_DIR}\\miniconda.exe"
@@ -351,8 +352,6 @@ for py_ver in "${DESIRED_PYTHON[@]}"; do
351352
conda install -y conda-package-handling conda==22.9.0
352353
else
353354
conda install -y conda-package-handling conda==23.5.2
354-
# NS: To be removed after conda docker images are updated
355-
conda update -y conda-build
356355
fi
357356

358357
echo "Calling conda-build at $(date)"

0 commit comments

Comments
 (0)
0