-
Notifications
You must be signed in to change notification settings - Fork 248
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
Fix tests for quantities 0.16.0 #1534
Comments
So the new behavior of quantites for numpy 2.0 is to only provide the option to have views of the data. This is causing the test failures seen here. We need to decide whether moving forward do we want to support the |
I suggest we limit Neo to quantities< 0.16.0 and then we can have a PR that actually begins fixing for the new quantities version. Then after fixing for quantities we can then fix for numpy 2.0 @alejoe91, I'll tag you as well for this :) |
If you could do this and cut a release, it would be great at the MNE-Python end 🙏. I got stuck trying to get our CIs green temporary in mne-tools/mne-python#12815 |
@apdavison, @alejoe91, @samuelgarcia do we want to do one more point release with the quantities limit (now merged) and adding a numpy < 2.0 limit (will need to add) for users that want a working pypi version while we update the code on main? I'm fine doing it all as long as we are all on board (we just have the biocam/plexon updates currently). Then maybe we can discuss how we want to fix things in a meeting before starting a PR for quantities 0.16 and numpy 2. |
We had a request for this from MNE-Python, so if you have time please go ahead with a point release. |
Sounds good I'll work on this today/tomorrow so we will have the point release by end of the week. |
To be honest, I don't think the point release with a pin |
I think we likely need to have this point release more due to the quantities change. The loss of |
No problem if you need the release anyway :) |
when you have a moment do you want to comment on this since I know Elephant uses Neo objects. How do you currently interact with the |
So we have decided to drop support for copy so that we can be completely NumPy 2.0 compatible. The idea being that if NumPy arrays no longer allow copy then we won't support the copy argument either. For the next release we will keep the |
Hey @zm711 , |
core-tests failing with new version of quantities. We will need to fix.
The text was updated successfully, but these errors were encountered: