Skip to content

Commit

Permalink
CI Workaround to test numpy 1.8.2 and scipy 0.13.3 (scikit-learn#12042)
Browse files Browse the repository at this point in the history
  • Loading branch information
rth authored and jnothman committed Sep 17, 2018
1 parent 9de62e8 commit dea10b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build_tools/travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ elif [[ "$DISTRIB" == "ubuntu" ]]; then
# and scipy
virtualenv --system-site-packages testvenv
source testvenv/bin/activate
pip install pytest pytest-cov cython==$CYTHON_VERSION
# FIXME: Importing scipy.sparse with numpy 1.8.2 and scipy 0.13.3 produces
# a deprecation warning and the test suite fails on such warnings.
# To test these numpy/scipy versions, we use pytest<3.8 as it has
# a known limitation/bug of not capturing warnings during test collection.
pip install pytest==3.7.4 pytest-cov cython==$CYTHON_VERSION

elif [[ "$DISTRIB" == "scipy-dev" ]]; then
make_conda python=3.7
Expand Down

0 comments on commit dea10b4

Please sign in to comment.