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
Build fails on OS X with NumPy 1.9 #2705
Conversation
Is that the entire error output? I don't see an error here, only warnings. |
Sorry, here should be everything of relevance:
|
I've tried this witch clang, but it also chokes on
|
It looks like Numpy has changed the C API on us without warning. I'll look into this and see what workaround can be made, or it might require a bug report to Numpy. |
I have a fix attached. I've just decided to not rely on Numpy's file API, as I don't think they consider it public and stable -- I've just copied it into the matplotlib tree (it was already there in case we were on a Numpy that was too old). |
@fonnesbeck - any chance you could check this - I'm 👍 for merging if that goes well. |
Works like a champ. Thanks! |
The travis failures are unrelated. |
@mdboom - happy for me to merge? I'm 👍 |
Build fails on OS X with NumPy 1.9
Fixes have gone into numpy in the last couple of days, the problem you encountered cropped up in the process. The fixes were for a longstanding, but unnoticed, bug, so you might want to check them out. The process started with numpy/numpy#4152 and was followed by two more merges. |
Yeah -- on further inspection, it was pretty clear that the API change was required in order to fix a bug, which is why I didn't report an issue with Numpy. The fix here for matplotlib was to just not rely on a semi-private API in Numpy anymore, so that changes over there won't affect us any longer. |
@mdboom This needs to be cherry picked to 1.3.x |
Build fails on OS X with NumPy 1.9 Conflicts: src/file_compat.h src/ft2font.cpp
Cherry picked as 1ebe784 |
The current Matplotlib master fails to build against NumPy 1.9, also from master. I get the following:
I generate new builds every couple of weeks, using the same script:
This is the first time I have seen this failure. OS X 10.9.1, gcc 4.2.1.