-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
numpy-dev build failure related to array repr/str formatting changes #8959
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
Comments
FYI I opened numpy/numpy#9185. |
I am going to rename this one, because now that numpy/numpy#9139 has been merged the 0d array has been fixed but most of the other arrays have differences in repr. See https://travis-ci.org/scikit-learn/scikit-learn/jobs/281173097 for an example of failing build. 61 failures, all of them similar to this one:
My preference would be to not do anything until numpy 1.4 is released and then either run our doctests with numpy 1.14 only. If deemed necessary we can change setup.cfg to not run the doctest by default, this way less people with numpy <= 1.13 are likely to hit test failures they will have to scratch their head over. |
How do we manage your favourite option for when users run the test suite?
Notify them "skipping doctests" when their version comes back incorrect?
Would we be losing much fidelity with a global NORMALIZE_WHITESPACE with
pytest? See also #1253.
|
To be honest I think I was planning to kick this one down the road for a bit. I don'am pretty sure NORMALIZE_WHITESPACE is not enough to make the doctest pass. There are two options AFAICS:
import numpy as np
try:
np.set_printoptions(sign='legacy')
except TypeError:
pass
|
I suppose this one should also be closed since cron job passes today. |
yay!
|
Thanks a lot for keeping track of this! I am going to reopen this one, because we are still skipping the doctests of the I think we are just waiting for numpy/numpy#10059 and then we can enable |
Uh oh!
There was an error while loading. Please reload this page.
Historical thing that is not relevant anymore go to #8959 (comment) for the current problem:
See https://travis-ci.org/scikit-learn/scikit-learn/jobs/237455099 for example.Additional leading space in the repr of the
nugget
parameter.The text was updated successfully, but these errors were encountered: