Skip to content

Commit

Permalink
[CI] Fix static build pipeline (apache#17474)
Browse files Browse the repository at this point in the history
  • Loading branch information
leezu authored Jan 30, 2020
1 parent 8a6aed9 commit 4474de3
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions ci/docker/install/ubuntu_publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,13 @@ mv apache-maven-3.3.9/ /usr/local/maven/
update-alternatives --install /usr/bin/mvn mvn /usr/local/maven/apache-maven-3.3.9/bin/mvn 1
update-ca-certificates -f

apt-get install -y python python3
apt-get install -y python python-pip python3 python3-pip

# the version of the pip shipped with ubuntu may be too lower, install a recent version here
wget -nv https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
python2 get-pip.py
# Restrict pip version to <19 due to use of Python 3.4 on Ubuntu 14.04
python2 -m pip install --upgrade 'pip<19'
python3 -m pip install --upgrade 'pip<19'

apt-get remove -y python3-urllib3

pip2 install nose cpplint==1.3.0 'numpy>1.16.0,<2.0.0' nose-timer 'requests<2.19.0,>=2.18.4' h5py==2.8.0rc1 scipy==1.0.1 boto3
pip3 install nose cpplint==1.3.0 pylint==2.3.1 'numpy>1.16.0,<2.0.0' nose-timer 'requests<2.19.0,>=2.18.4' h5py==2.8.0rc1 scipy==1.0.1 boto3
# Restrict numpy version to <1.18 due to use of Python 3.4 on Ubuntu 14.04
python2 -m pip install --upgrade --ignore-installed nose cpplint==1.3.0 'numpy>1.16.0,<1.17' nose-timer 'requests<2.19.0,>=2.18.4' h5py==2.8.0rc1 scipy==1.0.1 boto3
python3 -m pip install --upgrade --ignore-installed nose cpplint==1.3.0 pylint==2.3.1 'numpy>1.16.0,<1.18' nose-timer 'requests<2.19.0,>=2.18.4' h5py==2.8.0rc1 scipy==1.0.1 boto3

0 comments on commit 4474de3

Please sign in to comment.