-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
pandas 0.13.0 tests fail against numpy 1.8.x #5997
Comments
we test again 1.8; these are failing because of changes in 1.8 (that will actually appear in 1.8.1)? |
I just realized, this thing also fixed what I think is a bug with structured types. Since pandas makes a lot of use for that, this part is likely what breaks pandas and the regression fix is OK. So I think we can undo the structured type fix part for 1.8.x, but it would be nice to have input/know that you are aware that there should be a change for 1.9.x in numpy here. I will have a look at it later. |
pandas tests work with numpy 1.7.2, so there is probably something additional in that changeset that breaks it. |
Can you try if this fixes it:
It should undo the non-regression part of the fix. |
no the patch does not help |
Thanks for the heads-up @juliantaylor. I'm not sure what you mean by "coded a regression of 1.8 into the tests". I started looking at the damage here and found at least this change in numpy behaviour,
|
We'll be releasing 13.1 in a couple of weeks, would be nice to sync up to minimize the breakage |
hm yes that is a bug with current git master unfortunately the tests just crash in: |
It's a little troublesome to sort out which tests are affected by what. If you push a fix for |
@y-p maybe we should have the 2.7 locale build run more tests and hit numpy master (rather than change another build)? |
just what I was thinking, but... we want to keep our build times short, we've put some effort into that. @juliantaylor , we have a network location that stores wheel files of our compiled dependencies You'll then be able to check pandas integration easily through our new CI status page. |
In fact, if numpy puts up travis-compat wheels for all it's version branches that would |
the master failure is due to a recent np.where improvement, 10 times faster, but also apparently broken for object arrays :( |
Jeesh... yes, subscript_simple needs to be channeled through PyArray_Return, because in some corner cases (probably exactly this one, a single non-integer but integer-like scalar) it can return a scalar array which should be converted to a scalar, too. So it needs the same stuff like fancy indexing has right now... |
man numpy travis compat wheels would be friggin sweet |
@juliantaylor related (prob the same) on mavericks, #6036 |
@juliantaylor , we're getting ready to release 0.13.1 soon, any news on this? |
I am not sure if this is all about the |
Sure, what's the numpy PR for me to test? |
Sorry, it is numpy/numpy#4223 (against 1.8.x branch) |
tested 0.13 against he PR and it now works, so closing the issue. concerning wheels for CI, I would like this, maybe you can propose something to the numpy mailing list? I'd help out implementing something. |
thanks @juliantaylor we have the same float indexer deprecation (prob in 0.14) as well.....a source of lots of confusion |
Sorry, I actually ran the tests in another window against that PR a few hours ago We used a vagrant ubuntu box as build env and if it were in the proper AWS region, I'm loath to get into a long discussion on the ML, so go ahead. If you want help building |
I don't know much about wheels and how they are distributed, but I could provide a ubuntu PPA with a daily build relatively quickly if that would work too. |
wheels are a recent addition to python packaging, it's a binary format and stable pip supports it. |
You've raised the issue of making numpy wheels available on the ML recently. In short, we've been fetching wheels off a private webserver from travis Travis runs on ubuntu, making numpy wheels (and associate packages such as scipy) |
@y-p that's a good point, reducing Travis runtime is worth spending some effort on. Linux wheels aren't (yet) allowed on PyPi though, so we'd have to set up a separate server for it and document it in all the places people may look for it, because |
You do need a server, pypi will take a url to a server the lists directory contents That's one thing conda does for you if you buy into it, though I still find wheels As I said, we've done this for a while. Look at http://cache27diy-cpycloud.rhcloud.com |
Can't look at the rhcloud link (blocked by the great firewall) but the PR you link to is informative. To clarify my comment, I meant that the exact command
is what needs documenting then in order for people to find the option to use the wheel server and use it. |
|
Reuse the wheels, sure. But another server is required, that one It's not complicated to setup an ubuntu vm/lxc that will automatically generate |
OK clear, thanks. Administering the wherever is the not-so-much-fun part, the rest is indeed not complicated. |
Generally true, but wherever could be s3 or similar, in which case things can be pretty simple |
I don't enjoy server admin, but if someone is willing to do this: we have a hosted mac mini that could be used (billing is taken care of). The plan was anyway to use that box for scipy-stack integration testing on OS X in addition to using it to debug mac issues, so this fits its purpose nicely. |
I offered to help early in the thread. Define "this". |
Sorry missed that - help would be great. "this" --> set up the OS X box such that numpy/scipy/pandas/... devs can upload wheels to it when given pw/ssh access, and where pip can retrieve them when it is given the correct |
I volunteer. If we could also use the box as a low-frequency CI server for pandas |
Yes, definitely use it for CI if that helps you. Doesn't even have to be low-frequency, it's a dedicated hosted machine for use of core scipy stack projects and it's under-used right now. Multiple builds per day on a couple of Python versions should be no problem. |
Goodness all around. I'll go further and set up an example .travis repo for other projects |
Sounds great. |
@y-p : please contact me at |
several test errors of this type when run against the maintenance/1.8.x branch of numpy.
it seems you have coded a regression of 1.8 into the tests, it is intended to fix this in numpy 1.8.1 but now that pandas relies on it makes the situation a little tricky.
see numpy/numpy#4109
How bad would it be for pandas if we release 1.8.1 with the regression fixed?
The text was updated successfully, but these errors were encountered: