8000 [MRG+2] use manylinux dev wheels for numpy / scipy (#8536) · NelleV/scikit-learn@c0494e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit c0494e4

Browse files
matthew-brettNelleV
authored andcommitted
[MRG+2] use manylinux dev wheels for numpy / scipy (scikit-learn#8536)
* MAINT: use manylinux dev wheels for numpy / scipy Use daily manylinux wheels for numpy and scipy, instead of soon-to-be-discontinued per-commit Precise wheels. * BF: add back ATLAS install for ubuntu build entry scikit-learn can link against BLAS libraries still at the same location as they were duing numpy build.
1 parent 7ee99e4 commit c0494e4

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

.travis.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ cache:
1212
addons:
1313
apt:
1414
packages:
15+
# these only required by the DISTRIB="ubuntu" builds:
16+
- python-scipy
1517
- libatlas3gf-base
1618
- libatlas-dev
17-
# only required by the DISTRIB="ubuntu" build:
18-
- python-scipy
19-
2019
env:
2120
global:
2221
# Directory where tests are run from
@@ -58,15 +57,8 @@ matrix:
5857
# This environment tests scikit-learn against numpy and scipy master
5958
# installed from their CI wheels in a virtualenv with the Python
6059
# interpreter provided by travis.
61-
# Note: libatlas3gf-base is not allowed yet so we need 'sudo':
62-
# https://github.com/travis-ci/apt-package-whitelist/issues/2407
63-
# Once libatlas3gf-base is on the whitelist it will be possible to replace
64-
# the before_install step with and addons/apt/packages declaration.
6560
- python: 3.5
6661
env: DISTRIB="scipy-dev-wheels"
67-
sudo: True
68-
before_install: sudo apt-get install -yqq libatlas3gf-base libatlas-dev
69-
7062

7163
install: source build_tools/travis/install.sh
7264
script: bash build_tools/travis/test_script.sh

build_tools/travis/install.sh

Lines changed: 3 additions & 5 deletions
6308
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,9 @@ elif [[ "$DISTRIB" == "scipy-dev-wheels" ]]; then
8686
source ~/testvenv/bin/activate
8787
pip install --upgrade pip setuptools
8888

89-
# We use the default Python virtualenv provided by travis
90-
echo "Installing numpy master wheel"
91-
pip install --pre --upgrade --no-index --timeout=60 \
92-
--trusted-host travis-dev-wheels.scipy.org \
93-
-f https://travis-dev-wheels.scipy.org/ numpy scipy
89+
echo "Installing numpy and scipy master wheels"
90+
dev_url=https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com
91+
pip install --pre --upgrade --timeout=60 -f $dev_url numpy scipy
9492
pip install nose nose-timer cython
9593
fi
9694

0 commit comments

Comments
 (0)
0