Skip to content

Commit 221cde2

Browse files
committed
Fixed bug in venv script to prevent numpy upgrade
1 parent 0778bc6 commit 221cde2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

venvs/manage_venvs.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,17 @@ deps() {
5656
then
5757
pip install -U cython git+https://github.com/numpy/numpy.git
5858
else
59-
pip install cython git+https://github.com/numpy/numpy.git
59+
#pip install cython git+https://github.com/numpy/numpy.git
60+
echo "[INFO] Not upgrading numpy (switch --no-numpy-upgrade)"
6061
fi
6162
else
6263
# otherwise, just install regular numpy
6364
if [ "$3" -eq "1" ]
6465
then
6566
pip install -U numpy
6667
else
67-
pip install numpy
68+
#pip install numpy
69+
echo "[INFO] Not upgrading numpy (switch --no-numpy-upgrade)"
6870
fi
6971
fi
7072
pip install -U lxml BeautifulSoup4
@@ -215,7 +217,6 @@ for PARAM in $@
215217
do
216218
if [ "$PARAM" == "--no-numpy-upgrade" ]
217219
then
218-
echo "[INFO] Not upgrading numpy (switch --no-numpy-upgrade)"
219220
UPGRADENUMPY=0
220221
fi
221222
done

0 commit comments

Comments
 (0)