Skip to content

Commit 80b420a

Browse files
authored
Pin conda-build to 3.28.4 (#1701)
1 parent 2244bd6 commit 80b420a

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
@@ -204,7 +204,8 @@ if [[ "$(uname)" == 'Darwin' ]]; then
204204
"$miniconda_sh" -b -p "$tmp_conda" && \
205205
rm "$miniconda_sh"
206206
export PATH="$tmp_conda/bin:$PATH"
207-
retry conda install -yq conda-build
207+
# TODO(huydhn): We can revert the pin after https://github.com/conda/conda-build/issues/5167 is resolved
208+
retry conda install -yq conda-build=3.28.4
208209
elif [[ "$OSTYPE" == "msys" ]]; then
209210
export tmp_conda="${WIN_PACKAGE_WORK_DIR}\\conda"
210211
export miniconda_exe="${WIN_PACKAGE_WORK_DIR}\\miniconda.exe"
@@ -346,8 +347,6 @@ for py_ver in "${DESIRED_PYTHON[@]}"; do
346347
conda install -y conda-package-handling conda==22.9.0
347348
else
348349
conda install -y conda-package-handling conda==23.5.2
349-
# NS: To be removed after conda docker images are updated
350-
conda update -y conda-build
351350
fi
352351

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

0 commit comments

Comments
 (0)