Skip to content

Commit 28f1c5b

Browse files
committed
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
1 parent 609b402 commit 28f1c5b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ python:
66
sudo: false
77
install:
88
- pip install -U pip
9-
- pip install ".[test]" coveralls
9+
- pip install -U --upgrade-strategy eager ".[test]" coveralls
10+
- pip freeze
1011
script:
1112
- nosetests --with-coverage --cover-package traittypes traittypes
1213
after_success:

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@
8383

8484
extras_require = setuptools_args['extras_require'] = {
8585
'test': [
86-
'numpy',
86+
# TestIntArray.test_bad_values fails with numpy>=1.16.0
87+
'numpy<1.16.0',
88+
8789
'pandas',
8890
'xarray',
8991
'pytest', # traitlets[test] require this

0 commit comments

Comments
 (0)