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
Ahh, I think this is numpy/numpy#7619 (again). Python's datatime.date has limited precision, and so np.array(3000000, dtype='datetime64[D]') can't be represented as a date time. I'm pretty confused about what that test is doing, but presumably something inside Zarr isn't handling that edge case.
The text was updated successfully, but these errors were encountered:
Zarr version
v3
Numcodecs version
n/a
Python Version
n/a
Operating System
n/a
Installation
n/a
Description
Curious failure at https://github.com/zarr-developers/zarr-python/actions/runs/10549325420/job/29224231309?pr=2118 in #2118.
Steps to reproduce
I can reproduce locally, but I'm not too sure what's going on. With this diff:
I can get
It seems like for large enough values, NumPy's datetime64[D] dtype is behaving strangely:
Additional output
Ahh, I think this is numpy/numpy#7619 (again). Python's
datatime.date
has limited precision, and sonp.array(3000000, dtype='datetime64[D]')
can't be represented as a date time. I'm pretty confused about what that test is doing, but presumably something inside Zarr isn't handling that edge case.The text was updated successfully, but these errors were encountered: