-
Notifications
You must be signed in to change notification settings - Fork 5
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
Installing MDAnalysis from pip deps triggers numpy error #129
Comments
Yeah I suspect that a pin is the way forward until the next release - sorry about that :( |
Thanks @IAlibay! Just thinkign about this some more wrt the workshop and future maintainability of any MDAKits that might be created here, I was thinking that maybe the best way to do this would actually be in the |
Actually, I'm pretty sure I started pinning an upper version of numpy a while back - what version of MDA are you picking up? |
Ok just checked, I started putting an upper pin for numpy in the package with release 2.6 and above. As a minimum here (in the cookiecutter) I would suggest pinning the minimum MDA to >2.6, at least that'll ensure a proper failure when trying to combine np 2.0+ and MDA right now. Thoughts on this @lilyminium ? Something does need doing about install-mdanalysis, will think about that now. |
The failures only happen when installing from develop, not any particular release package. Happy to move the pin upwards but I'm not sure that's the issue here. The logs from the failed run indicate that MDA wasn't installed before the |
Ah ok, that's a key bit of information I didn't know. I have an idea, need to double check something. |
Ok I think I got it, sorry there's just too many threads going on and I completely forgot about this MDAnalysis/mdanalysis#4620 I'm going to aim to merge that PR and I think it'll clean things up, or at least it'll take us to a different state. |
This should be fixed upstream - can you confirm that this is also resolved for you here @lilyminium ? |
I re-ran the above-mentioned CI matrix and everything seems to run fine now: https://github.com/MDAnalysis/mdakit-cookie/actions/runs/9615305167 - probably means we're ok? |
Thanks for putting in the fix @IAlibay! I'm happy that CI is all green now on https://github.com/MDAnalysis/mdakit-cookie. Closing now :-) |
From mdakit-cookie CI -- https://github.com/MDAnalysis/mdakit-cookie/actions/runs/9615305167
Across Pythons 3.10-3.12 on MDAnalysis develop, we get a header size error:
Possibly needs pinning to numpy < 2.0?
Error not triggered by conda.
The text was updated successfully, but these errors were encountered: