Skip to content

Commit

Permalink
Pin conda-build to 3.28.4 (#1698)
Browse files Browse the repository at this point in the history
  • Loading branch information
huydhn authored Feb 6, 2024
1 parent 96bd851 commit 196b77b
Showing 1 changed file with 2 additions and 3 deletions.
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

0 comments on commit 196b77b

Please sign in to comment.