From 28f1c5b7b6fc16be3a3e542341984afeead8c142 Mon Sep 17 00:00:00 2001 From: Aliaksei Urbanski Date: Sat, 22 Jun 2019 04:08:20 +0300 Subject: [PATCH] Fix numpy version TestIntArray.test_bad_values fails with numpy>=1.16.0, so it makes sense to pin numpy to <1.16.0 for now. These changes also: - Make CI update requirements - Add pip freeze command to CI install step --- .travis.yml | 3 ++- setup.py | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9e5ba36..03848b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,8 @@ python: sudo: false install: - pip install -U pip - - pip install ".[test]" coveralls + - pip install -U --upgrade-strategy eager ".[test]" coveralls + - pip freeze script: - nosetests --with-coverage --cover-package traittypes traittypes after_success: diff --git a/setup.py b/setup.py index 774c7ab..237f076 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,9 @@ extras_require = setuptools_args['extras_require'] = { 'test': [ - 'numpy', + # TestIntArray.test_bad_values fails with numpy>=1.16.0 + 'numpy<1.16.0', + 'pandas', 'xarray', 'pytest', # traitlets[test] require this