-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Test stable numpy (1.10) in travis #4645
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
|
p.s. Appveyor is already using numpy "stable", so that is fine. It didn't fail, since it is not building docs. |
0c441b0 to
1a1377f
Compare
|
I have a deja vu that you already had a PR for this. |
|
#4456 :) |
|
@astrofrog - #4456 is a bit larger, moving everything to 3.5. That one was failing the sphinx build, and I noticed this was a more general problem with numpy 1.10. So I thought I should address that separately. I think this one does it, but wonder whether I should add a more elaborate plotting test, that uses |
|
@mhvk - interesting. I hadn't realized there was a regression in numpy v1.10 for this. But I find it rather awkward that you need And shouldn't this be 1.1.x? That is, this is a doc clarification and a bug fix, right? That is, Another consideration: this means that astropy v1.0.x/numpy 1.10 is broken, right? Perhaps we should instead fix this example by adding |
|
Clarification: I'm suggesting the |
|
@eteq - you're right, since |
👍
I agree in master, but I'm suggesting we use the
definitely! |
|
So if that sounds good to you, @mhvk, I think the thing to do is issue a new PR that just does the |
|
@mhvk - actually I just went ahead and did the first step in #4657 - assuming that passes and you are OK with the plan I outlined above, you can rebase on that, excise the One other consideration is whether we want to also backport the change to testing "stable" into 1.0.x. I'll just do a quick test now on my personal travis to see if it works as-is. I suspect it'll be easier to just do that directly in the v1.0.x branch rather than splitting this yet again into two PRs, though. EDIT: looks like it will work when this is merged (the 2.6 failure is unrelated), so I'll probably go ahead and update that with the various backports: https://travis-ci.org/eteq/astropy/jobs/112999556 |
1a1377f to
6997adc
Compare
6997adc to
967d59b
Compare
|
Oops, good catch @mhvk! In fact I did make the fix in the figure-producing code when I realized it was failing the sphinx build on my local machine... But now I realize that I forgot to actually commit that 😢. Once the tests pass I'll go ahead and merge this, then, and backport it to 1.0.x and 1.1.x - that will at least get the full numpy version tests into those branches so we'll know if we're set. |
|
Appveyer is a red herring, so all is good. Merging! |
Test stable numpy (1.10) in travis and update observing example to make it work
Test stable numpy (1.10) in travis and update observing example to make it work
Test stable numpy (1.10) in travis and update observing example to make it work
Our travis test matrix is getting a bit out of data, and even with numpy 1.10 there are sphinx build errors, due to quantity/array interaction. These are solved in the first commit; the second moves the default numpy in travis tests to
stable.