From 89aded2e5ae7f6f6bfc05264ba961c890a5418c9 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Mon, 27 Jan 2020 15:25:14 -0800 Subject: [PATCH 1/2] wheel: bump numpy version -> 1.17 Numpy version 1.17 is the first version to officially support Python 3.8 https://github.com/numpy/numpy/releases/tag/v1.17.5 Signed-off-by: Eli Uriegas --- wheel/build_wheel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wheel/build_wheel.sh b/wheel/build_wheel.sh index d7f9c13a8..d2bc4d905 100755 --- a/wheel/build_wheel.sh +++ b/wheel/build_wheel.sh @@ -138,7 +138,7 @@ export MACOSX_DEPLOYMENT_TARGET=10.10 export CMAKE_PREFIX_PATH=${CONDA_PREFIX:-"$(dirname $(which conda))/../"} if [[ "$desired_python" == 3.8 ]]; then - retry conda install -yq cmake numpy=1.15 nomkl setuptools pyyaml ninja + retry conda install -yq cmake numpy=1.17 nomkl setuptools pyyaml ninja else retry conda install -yq cmake numpy==1.11.3 nomkl setuptools pyyaml cffi typing ninja requests fi From d912ecbd04b516c13e79c0499a5d8db4d0d523d4 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Mon, 27 Jan 2020 15:26:48 -0800 Subject: [PATCH 2/2] conda: bump numpy -> 1.17 1.17 is the first numpy release to support python 3.8 https://github.com/numpy/numpy/releases/tag/v1.17.5 Signed-off-by: Eli Uriegas --- conda/debugging_pytorch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda/debugging_pytorch.sh b/conda/debugging_pytorch.sh index 2de2bef0b..5fc964986 100644 --- a/conda/debugging_pytorch.sh +++ b/conda/debugging_pytorch.sh @@ -14,7 +14,7 @@ export USE_CUDA_STATIC_LINK=1 . ./switch_cuda_version.sh 9.0 -conda install -y cmake numpy=1.11 setuptools pyyaml cffi mkl=2018 mkl-include typing ninja magma-cuda80 -c pytorch +conda install -y cmake numpy=1.17 setuptools pyyaml cffi mkl=2018 mkl-include typing ninja magma-cuda80 -c pytorch export CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" git clone https://github.com/pytorch/pytorch -b nightly2 --recursive