Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions conda/build_pytorch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ if [[ "$(uname)" == 'Darwin' ]]; then
"$miniconda_sh" -b -p "$tmp_conda" && \
rm "$miniconda_sh"
export PATH="$tmp_conda/bin:$PATH"
retry conda install -yq conda-build
# TODO(huydhn): We can revert the pin after https://github.com/conda/conda-build/issues/5167 is resolved
retry conda install -yq conda-build=3.28.4
elif [[ "$OSTYPE" == "msys" ]]; then
export tmp_conda="${WIN_PACKAGE_WORK_DIR}\\conda"
export miniconda_exe="${WIN_PACKAGE_WORK_DIR}\\miniconda.exe"
Expand Down Expand Up @@ -351,8 +352,6 @@ for py_ver in "${DESIRED_PYTHON[@]}"; do
conda install -y conda-package-handling conda==22.9.0
else
conda install -y conda-package-handling conda==23.5.2
# NS: To be removed after conda docker images are updated
conda update -y conda-build
fi

echo "Calling conda-build at $(date)"
Expand Down