-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
COMPAT: 0.18.0 scipy dev changes causing interpolation failures #12887
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
pls try with pandas master though almost all of these are I think some changes in scipy |
Ok, cool. I'll try that now. Thank you! FYI and for anyone else that might read this, the NumPy and SciPy dev versions that I have installed (see above) actually pass all the tests on my Linux box with MKL and the -O3 compiler setting (a first in my experience!). Hence the reason I'm using them. I'll report back in a few about the Master build. |
Here are the results using the Master build (ouch!) I'll down grade to the -O1 flag for NumPy/SciPy if I need to. Pandas is too critical to my work. Really, SciPy is the only one that gives issues now with the -O3 setting. NumPy always builds fine and Pandas usually does as well. Any further suggestions? I've attached the results. Thanks for your help. I appreciate it. |
I think you are having some compiling issues as you are failing on msgpack/sparse things. We don't have any failures with numpy master (except 1 known ATM). We use scipy latest released. If they have changed things it may have broken something (looks like some changes in interpolation). Why would you compile & run from unreleased versions? this is very very odd. |
@TomAugspurger if you'd have a look at the interpolation issues would be great. And maybe see what actually happened. |
Well, I was experimenting/attempting to get the -O3 flag to work for the MKL. Pandas 0.17.0 plus these versions of NumPy & SciPy worked on my system before. |
ok I have a branch that tests from scipy master now: https://travis-ci.org/jreback/pandas/jobs/122835131 @jmwoloso if you could look and see what scipy is changing would be great thanks! |
TST: install scipy wheels from master on 3.5/dev, xref pandas-dev#12887 TST: skip writing excel if no writers installed
ok so now the 3.5-dev build has scipy installed here 14 failures from scipy (which is probably all of them). obviously something moved around. So we should push back that this is not compat. |
@jreback The date of the last SciPy master I cloned was February 11th with the commit for that happening the day before on the 10th. The commit hash was 609facc07ae8437a8480157cc6da500d929eb00c so quite a bit has changed since then. Unfortunately, the last SciPy version I had before that was 0.15.1. Should I track down the last appearance of that in SciPy or should we wait to hear from the SciPy folks regarding the issue you opened (or both)? EDIT: And my apologies, I was away from home most of the day or I would have gotten back to you sooner. |
it appears that function was deprecated a while back - we really don't see the deprecation notices so need a fix to provide compat with old and new methods should be straightforward to do |
Like I was saying in the scipy issue,
|
thanks @ev-br yes that's what I would do here. detect scipy version and go with old function < 0.18 and new after. |
@TomAugspurger Sure, I'll give it a shot! |
@TomAugspurger Quick question, I'm just removing |
you need to place conditionally depending on the version of scipy |
So you'll check the scripy version and raise and error of it's too old. The tests should be similar, skipping if the version is too old.
|
@jreback @TomAugspurger Ok, perfect. |
no I would simply switch the function for newer versions for scipy <= 0.17 it should be unchanged |
@jreback Will do. |
@jmwoloso if you could do this would be great. |
Yeah, you can assign it to me if you'd like. I've forked the repo and got everything set up to contribute (this is my first time with any project) and now I'm just trying to get a lay of the land with the code I'll be changing so I understand what is doing what, if that makes sense? |
@jreback Awesome. Yeah, I checked out the contributing docs already, they do a great job of explaining how to set everything up to help out. Working on it now, I'll post questions here if I have any. |
@jreback @TomAugspurger Apologies, I thought your responses to the pull request would show up here as well, but they were just going to my mailing list folder. I'm working on your suggestions now and will push an update once I'm done. Thank you for the feedback thus far! |
@jmwoloso they show up on whatever issue we were writing them on, in this case the PR itself. |
Code Sample, a copy-pastable example if possible
python -c 'import pandas;pandas.test()'
Expected Output
No errors/failures
output of
pd.show_versions()
Hello All,
Can anyone provide any insight into these errors and failures (see attachment)
pandas_test.txt
The text was updated successfully, but these errors were encountered: