Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows conda build fix #1480

Merged
merged 1 commit into from
Aug 14, 2023
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
4 changes: 3 additions & 1 deletion conda/build_pytorch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -337,12 +337,14 @@ for py_ver in "${DESIRED_PYTHON[@]}"; do
# Build the package
echo "Build $build_folder for Python version $py_ver"
conda config --set anaconda_upload no
conda install -y conda-package-handling conda==23.5.2

if [[ "$OSTYPE" == "msys" ]]; then
# Don't run tests on windows (they were ignored mostly anyways)
NO_TEST="--no-test"
# Fow windows need to keep older conda version
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
Expand Down