@@ -31,29 +31,26 @@ pip install --upgrade werkzeug==0.11.10
3131pip3 install --upgrade werkzeug==0.11.10
3232
3333# Install protobuf.
34- pip install --upgrade protobuf==3.0 .0
35- pip3 install --upgrade protobuf==3.0 .0
34+ pip install --upgrade protobuf==3.2 .0
35+ pip3 install --upgrade protobuf==3.2 .0
3636
3737# Remove obsolete version of six, which can sometimes confuse virtualenv.
3838rm -rf /usr/lib/python3/dist-packages/six*
3939
4040set +e
4141# Use pip to install numpy to a modern version, instead of 1.8.2 that comes
4242# with apt-get in ubuntu:14.04.
43- NUMPY_VERSION=" 1.11 .0"
43+ NUMPY_VERSION=" 1.12 .0"
4444numpy_ver_flat=$( echo $NUMPY_VERSION | sed ' s/\.//g' | sed ' s/^0*//g' )
4545local_numpy_ver=$( python -c " import numpy; print(numpy.__version__)" )
4646local_numpy_ver_flat=$( echo $local_numpy_ver | sed ' s/\.//g' | sed ' s/^0*//g' )
4747if [[ -z $local_numpy_ver_flat ]]; then
4848 local_numpy_ver_flat=0
4949fi
5050if (( $local_numpy_ver_flat < $numpy_ver_flat )) ; then
51- set -e
52- wget -q https://pypi.python.org/packages/06/92/3c786303889e6246971ad4c48ac2b4e37a1b1c67c0dc2106dc85cb15c18e/numpy-1.11.0-cp27-cp27mu-manylinux1_x86_64.whl#md5=6ffb66ff78c28c55bfa09a2ceee487df
53- mv numpy-1.11.0-cp27-cp27mu-manylinux1_x86_64.whl \
54- numpy-1.11.0-cp27-none-linux_x86_64.whl
55- pip install numpy-1.11.0-cp27-none-linux_x86_64.whl
56- rm numpy-1.11.0-cp27-none-linux_x86_64.whl
51+ # We must pip install numpy to compile it from source due to subtle issues
52+ # around the pypi package and Ubuntu 14.04.
53+ pip install --upgrade numpy==$NUMPY_VERSION
5754fi
5855
5956set +e
@@ -63,12 +60,9 @@ if [[ -z $local_numpy_ver_flat ]]; then
6360 local_numpy_ver_flat=0
6461fi
6562if (( $local_numpy_ver_flat < $numpy_ver_flat )) ; then
66- set -e
67- wget -q https://pypi.python.org/packages/ea/ca/5e48a68be496e6f79c3c8d90f7c03ea09bbb154ea4511f5b3d6c825cefe5/numpy-1.11.0-cp34-cp34m-manylinux1_x86_64.whl#md5=08a002aeffa20354aa5045eadb549361
68- mv numpy-1.11.0-cp34-cp34m-manylinux1_x86_64.whl \
69- numpy-1.11.0-cp34-none-linux_x86_64.whl
70- pip3 install numpy-1.11.0-cp34-none-linux_x86_64.whl
71- rm numpy-1.11.0-cp34-none-linux_x86_64.whl
63+ # We must pip install numpy to compile it from source due to subtle issues
64+ # around the pypi package and Ubuntu 14.04.
65+ pip3 install --upgrade numpy==$NUMPY_VERSION
7266fi
7367
7468# Use pip to install scipy to get the latest version, instead of 0.13 through
144138set -e
145139
146140# pandas required by tf.learn/inflow
147- pip install pandas==0.18.1
148- pip3 install pandas==0.18.1
141+ pip install pandas==0.19.2
142+ pip3 install pandas==0.19.2
149143
150144# Benchmark tests require the following:
151145pip install psutil
0 commit comments