-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
BLD: remove __NUMPY_SETUP__ from builtins at end of setup.py #7956
Conversation
I just tested this and this seems to fix my problem. the current numpy fails on this (the build of h5py fails, because it believes numpy isn't completely installed yet, since
your branch builds fine:
I test this with also make sure to have run I can also confirm that I had some issues testing bdist_rpm (also on master, so this means nothing) |
Thanks @JensTimmerman. I'll try to reproduce your issue first, but looks like this is a correct change then. |
It will be interesting to see if this affects |
NVM, MPL checks for the attribute before deleting it. |
@charris matplotlib is included in my testcases and works.
|
@rgommers I'm going to try to put this in 1.11.2rc1 if you are OK with that and accept it in time. That way it will get more testing and it doesn't look to break anything common at the moment. |
I don't know that this fixes the specific issue I described, but it might help with other similar issues. It's not a bad idea anyhow. |
@rgommers A comment to clarify the reason for the deletion would be helpful. If none is forth coming, I'm going to put this in this weekend in any case, so complain now or never. |
sounds good to me.
good point, will add |
May help reduce the occurrence of numpygh-2434.
I agree, it's only a partial fix. There are a number of ways for the install to fail with the same symptoms. This one is the most straightforward to fix. |
OK did some more testing/checking, this should be OK to merge once TravisCI is happy. |
Thanks Ralf. |
Thanks @JensTimmerman for pointing out this issue and testing. |
@MSeifert04 - our problem was actually fixed already, by #7941 |
May help reduce the occurrence of gh-2434.