From 00cf2f74034339cd85edb5062473b9446905c145 Mon Sep 17 00:00:00 2001 From: Soumith Chintala Date: Tue, 14 Jan 2020 09:46:00 -0800 Subject: [PATCH] make python 3.8 osx builds work --- wheel/build_wheel.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wheel/build_wheel.sh b/wheel/build_wheel.sh index 3e0cb104b..4fd2c7c05 100755 --- a/wheel/build_wheel.sh +++ b/wheel/build_wheel.sh @@ -137,7 +137,11 @@ export INSTALL_TEST=0 # dont install test binaries into site-packages export MACOSX_DEPLOYMENT_TARGET=10.10 export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"} -retry conda install -yq cmake numpy==1.11.3 nomkl setuptools pyyaml cffi typing ninja requests +if [[ "$desired_python" == 3.8 ]]; then + retry conda install -yq cmake numpy=1.15 nomkl setuptools pyyaml ninja requests +else + retry conda install -yq cmake numpy==1.11.3 nomkl setuptools pyyaml cffi typing ninja requests +fi retry conda install -yq mkl-include==2019.5 mkl-static==2019.5 -c intel retry pip install -qr "${pytorch_rootdir}/requirements.txt" || true