-
Notifications
You must be signed in to change notification settings - Fork 268
Description
I'm finding that several tests are failing on Travis CI, depending on the version of NumPy installed on the test server. The problem is isolated to the latest NumPy, version 1.15.0. When the version of NumPy is not forced, it varies depending on the Python version. All of the tests that fail rely on NumPy's assert_array_equal.
I ran several tests to demo my findings. From master, I added stderr print statements so that Travis CI build logs would display the version of NumPy installed (search for "@@@@@" to find them quickly). I then tried building with and without forcing the version of NumPy.
NumPy version NOT forced:
- Commit demoing behavior: 940c449
- Travis CI report: https://travis-ci.com/jpgill86/python-neo/builds/82022219
- Result: Python 2.7, 3.4, 3.6 pass because they install NumPy 1.12.1 (Py 3.4) or 1.13.3 (Py 2.7, 3.6) by default, whereas Python 3.5 fails because it installs NumPy 1.15.0 by default.
NumPy version forced to 1.15.0:
- Commit demoing behavior: dd54a60
- Travis CI report: https://travis-ci.com/jpgill86/python-neo/builds/82022633
- Result: All Python versions fail in the same way
NumPy version forced to 1.14.5:
- Commit demoing behavior: 6f25856
- Travis CI report: https://travis-ci.com/jpgill86/python-neo/builds/82023437
- Result: All Python versions pass without errors
I don't think this was a problem only a few days ago (see latest master branch Travis CI report here). My guess is that in the last few days the default NumPy version for Python 3.5 changed from something older to 1.15.0. I'm not sure who controls that (PyPI? Travis CI?). When this happens for other Python versions, more builds will fail.