-
Notifications
You must be signed in to change notification settings - Fork 52
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
numpy 1.19.2 #404
Comments
Thomas finished the release of silx yesterday. Now binary wheels are available for most architectures. Which one are your using ?
|
If you want to rebuild fabio from sources, you should install cython to re-generate the C-code which may depend on the version of numpy used. |
Hi, thanks for getting back to me so quickly. To isolate issue I just tried an fabio installation via pip. Due to interoperability requirements we us a python, numpy and h5py installation which we have on the cluster. As mentioned this comes with numpy 1.17.3. The pip now tries to upgrade the numpy to 1.19.2:
Based on what I have seen before, it seems that fabio prescribes the latest 1.19.2 version of numpy (which was released only a few days ago), which for an installation in a multi user HPC system makes matters really difficult. When I tried silx yesterday, that accepted the numpy 1.17.3 (which is less than a year old). |
Following my previous input, I tried to build fabio 0.9.0, which is older than numpy 1.17.3. I get the same issue, that fabio is unhappy with numpy 1.17.3:
|
Are you running on an exotic architecture ? Why does it want to build from scratch instead of using binary wheels ? For info, I am working with a numpy 1.16 with the development version of fabio. So the issue is not there. The minimum version for numpy should be 1.14.5. |
Hi, Thank you so much for taking our issue so serious. Following your feedback, I tried using a different python installation with a different version of pip and got a warning, referencing issue: pypa/pip#7309 This might or might not be a smoking gun with regards what we are up to. One of our requirements is relocation. It is a multi-user system and we can not just install things into the basic python installations and move the carpet under everyone's feet. From a failed build (which was unfortunately allowed to write into the base python) I suspect fabio is not really listening to |
One reasonable option would be to clone the virtual-environment you are using. I already used this tool with success: The use-case was similar to yours: provide users from a facility with their own venv already configured. The drawback is the size in the home directory (dozens of MB), but still one order of magnitude smaller than the same approach with conda. |
Hi, I have good news to you. If I So thanks for your help. Your comments were really helpful to point me in the right direction. I think here is still an issue, why it doesn't accept the numpy 1.17 when forcing it to recompile fabio. As mentioned the silx is happy to rebuild with the numpy 1.17. I think I can now work around the issues. Let me know if you need more from me, or whether you decide to close this ticket. Thanks again for your help. |
Hi,
I was trying to build silx-0.13.2 via a pip install. This pulls in fabio 0.10.2 as a dependency. Building fabio fails:
ERROR: fabio 0.10.2 has requirement numpy>=1.19.2, but you'll have numpy 1.17.3 which is incompatible.
numpy 1.19.2 was only released on 10th September. fabio 0.10.2 is from May. This doesn't make sense to me. Could this please be looked at? I hope I am not overlooking something.
The text was updated successfully, but these errors were encountered: