-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
CRON Build breaks #10074
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
I think numpy/numpy#9966 is fixing this on NumPy's end (it hit pandas too). |
Thanks @TomAugspurger. For the record, the cron job is supposed to test the numpy dev version. I was expecting that we would get an email if the cron job failed, and I did not, not sure why ... |
I did get an email when it failed, but then forgot about it, perhaps
because I made the preceding merge. Thanks for checking it out @massich
|
Can we add documentation about the cron build to the dev docs please? I don't really understand how it is set up. And I didn't get an email from what I can see :-/ |
I'll try to do that. In the mean time:
More information about Travis cron jobs: https://docs.travis-ci.com/user/cron-jobs/ |
CRON builds use the dev version of scipy, numpy, which is what it is intended to test, but at the moment that is failing due to numpy/numpy#9966 |
Also note that that PR was merged 14 hours ago, and the last cron job was run 20 hours ago... we'll see if perhaps we get a green tick overnight, or if we need to adjust our doctests. |
@jnothman Thanks for the instant reply. I think I'll quickly push a doc fix to master to see if everything goes well. |
What fix is needed, unless you have run tests with numpy master now? It's best to make a PR in any case, to make sure that master builds on numpy stable too. |
Sorry, by saying push, I mean a PR (See #10123, a broken link in doc). And I suddenly realize that it seems that I don't need to do that since the cron job will automatically run again. Sorry again for doing all the things in a hurry. I promise that I won't commit anything directly into master. |
You can commit things directly to master, if you're absolutely sure they
won't break things! (or if you're sufficiently remorseful after breaking
things :P)
… |
(Also, of course, if you're absolutely certain they would not be the subject of disagreement.) |
Still breaking as of now (finished 40 minutes ago). There were a couples of PRs in numpy that were merged very recently so I am hoping they were not in the latest numpy dev wheels and everything is going to be fine tomorrow. |
This time, we got an errored build. See https://travis-ci.org/scikit-learn/scikit-learn/builds/301820919 |
According to https://github.com/numpy/numpy/pull/9332/files, looks like we need legacy=True rather than sign='legacy'. I'll do that. |
ping @jnothman |
Hmmm then not sure what is going on ... wild guessing: maybe the np.set_printoptions(legacy=True) prevents numpy/numpy#9966 from having an effect somehow. I think the first thing to do would be to build numpy master locally and see whether we can reproduce the errors. |
@lesteve personally I might doubt whether numpy/numpy#9966 is the reason, I've tried to locate a series of commit in numpy by looking at the latest successful cron build and the first failed cron build, l'd rather believe numpy/numpy#9941 to be the reason but l'm not sure. |
I think there are mostly two things here:
All in all, we can solve part of it with doctest ellipsis which could be a good middleground but not all of them, eg not this one:
|
I have opened numpy/numpy#10026 for the space issue with arrays of size 1. |
Good, I don't really understand either. FWIW all the tests were passing on my machine when I tried to reproduce. Anyway let's assume it is fixed until it fails again ... Side-comment, something to bear in mind AFAIK is that the numpy dev wheel is published by a Cron daily job which means that the numpy dev wheel is lagging behind numpy master a bit. |
Apparently, this error is still there.
Here's the log where I am seeing it: |
This is very unlikely that this bug is still here. ping me in your PR if you can not figure it out and need help in fixing the Travis failures. Note that right now if you are using numpy >= 1.14, you need to set_printoptions(legacy='1.13') when you generate the expected doctests results. This is a bit annoying and tackled in #10835. |
The cron build of travis appears to break master (see) which actually does not (see the same commit). The thing is that in the cron build uses numpy 1.14.0.dev0+d607099 whereas the regular build uses numpy 1.13.1-py36h5bc529a_2. This makes doctests to break due to precission.
ping @lesteve
The text was updated successfully, but these errors were encountered: