Skip to content

Commit 9631292

Browse files
authored
Windows conda build fix (#1480)
1 parent 5585c05 commit 9631292

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

conda/build_pytorch.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,12 +337,14 @@ for py_ver in "${DESIRED_PYTHON[@]}"; do
337337
# Build the package
338338
echo "Build $build_folder for Python version $py_ver"
339339
conda config --set anaconda_upload no
340-
conda install -y conda-package-handling conda==23.5.2
341340

342341
if [[ "$OSTYPE" == "msys" ]]; then
343342
# Don't run tests on windows (they were ignored mostly anyways)
344343
NO_TEST="--no-test"
344+
# Fow windows need to keep older conda version
345+
conda install -y conda-package-handling conda==22.9.0
345346
else
347+
conda install -y conda-package-handling conda==23.5.2
346348
# NS: To be removed after conda docker images are updated
347349
conda update -y conda-build
348350
fi

0 commit comments

Comments
 (0)