Skip to content

Commit 93c783a

Browse files
committed
More fixes
1 parent 89181c8 commit 93c783a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.circleci/docker/common/install_conda.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,10 @@ if [ -n "$ANACONDA_PYTHON_VERSION" ]; then
7575
# Install PyTorch conda deps, as per https://github.com/pytorch/pytorch README
7676
# DO NOT install cmake here as it would install a version newer than 3.10, but
7777
# we want to pin to version 3.10.
78+
SCIPY_VERSION=1.6.3
7879
if [ "$ANACONDA_PYTHON_VERSION" = "3.10" ]; then
7980
conda_install numpy=1.21.2 astunparse mkl mkl-include setuptools cffi future six llvmdev=8.0.0 -c conda-forge
81+
SCIPY_VERSION=1.7.3
8082
elif [ "$ANACONDA_PYTHON_VERSION" = "3.9" ]; then
8183
# Install llvm-8 as it is required to compile llvmlite-0.30.0 from source
8284
conda_install numpy=1.19.2 astunparse pyyaml mkl mkl-include setuptools cffi future six llvmdev=8.0.0 -c conda-forge
@@ -104,7 +106,7 @@ if [ -n "$ANACONDA_PYTHON_VERSION" ]; then
104106
# Pin MyPy version because new errors are likely to appear with each release
105107
# Pin hypothesis to avoid flakiness: https://github.com/pytorch/pytorch/issues/31136
106108
conda_pip_install pytest \
107-
scipy==1.6.3 \
109+
scipy==${SCIPY_VERSION} \
108110
scikit-image \
109111
psutil \
110112
unittest-xml-reporting \

0 commit comments

Comments
 (0)