-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
TST: do one of the test runs on TravisCI with latest numpy master. #4729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This would close #4327. |
The PR has been stalled in TravisCI for 2+ hours, and only the pyflakes config has become active. |
Finished now. It's green, which is yet another problem (I'd like red on a segfault....):
|
FWIW, on my 64bit ubuntu 12.04 numpy 1.9.1 does not produce any error.
|
Relaxed strides checking runs on Travisbot. This would fail (at least) on qr_update and IDL. |
Let's hold off on this one for a bit I'd say. Merge when it's won't immediately cause failures, which should be soon I think (or we'll not be branching...) |
a35e3da
to
2f34dcc
Compare
This should prevent build issues like scipygh-4719, as well as catch test errors/failures that are regularly introduced by PRs.
The tests failed but that didn't get detected. One new failure with numpy master:
|
The problem of having the TravisCI run fail because of an issue in numpy master can be worked around by |
I investigated this a bit. My guess is that when numpy is configured or built on the TravisCI platform it somehow fails to detect a C library implementation of The failing test is from the first line of https://github.com/scipy/scipy/blob/master/scipy/special/tests/data/boost/acosh_data_ipp/acosh_data.txt. Here's what I see when I manually run this test on my system where numpy seems to have been able to find a clever >>> import numpy as np
>>> from numpy import log, sqrt
>>> def fallback(x): return 2*log(sqrt((x+1)/2) + sqrt((x-1)/2))
...
>>> x = 1.000001430511474609375
>>> y = 0.001691455665129294448190238354291760044433
>>> (fallback(x) - y) / y
1.0935249113484058e-13
>>> (np.arccosh(x) - y) / y
0.0 The
Python's fallback implementations are here: https://github.com/python/cpython/blob/master/Modules/_math.c. One workaround could be to increase the scipy test tolerance for |
Numpy undefines some complex arc trig functions when the glibc version is not at least 2.16 to avoid bugs in old standard C math libraries. |
upped in #5527 |
Seems to be superseded by #5609. |
closing; #5609 |
This should prevent build issues like gh-4719, as well as catch test errors/failures that are regularly introduced by PRs.
Note: this will fail on a number of test errors. Some of those are fixed by an open PR, some are to be fixed (maybe in this PR). Want to see already if this runs though, and if the errors and failures on TravisCI are the same as those I see locally.
Closes gh-4327