You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# References and relevant issues
Failure in our prerelease tests which picked up `numpy==2.0.0rc2`:
#6871 (comment)
Related discussion on Zulip:
https://napari.zulipchat.com/#narrow/stream/212875-general/topic/handling.20the.20numpy.202.2E0.20release
# Description
This fixes the coercion of data using the `Array` pydantic custom class
so that it works for both numpy 1 and 2, and only makes a copy if
needed.
Instead we could consider using `np.asarray`, but we'll also need to
replace the `ndmin` argument (which `np.asarray` does not have), by
using `np.expand_dims` or similar. I have done that it in one other
place where I don't need those fancy arguments.
The --pre Test workflow failed on 2024-06-04 12:10 UTC
The most recent failing test was on windows-latest py3.12 pyqt5
with commit: f640234
Full run: https://github.com/napari/napari/actions/runs/9366746366
(This post will be updated if another test fails, as long as this issue remains open.)
The text was updated successfully, but these errors were encountered: