Zarr version
v3
Numcodecs version
?
Python Version
?
Operating System
?
Installation
?
Description
At the moment hypothesis generates this kind of nonsensical byte range
path = PosixPath('/private/var/folders/sc/hsdthq2x7mnbfvwnk7rp4xmr0000gn/T/pytest-of-deepak/pytest-957/test_zarr_hierarchy_local_0/0')
prototype = BufferPrototype(buffer=<class 'zarr.core.buffer.cpu.Buffer'>, nd_buffer=<class 'zarr.core.buffer.cpu.NDBuffer'>)
byte_range = (None, 105072079929312)
which is fine for MemoryStore but not for LocalStore:
> return prototype.buffer.from_bytes(f.read(end - f.tell()))
E MemoryError
I also don't understand how this works if the byte_range is larger than the file.
Steps to reproduce
...
Additional output
No response
Zarr version
v3
Numcodecs version
?
Python Version
?
Operating System
?
Installation
?
Description
At the moment hypothesis generates this kind of nonsensical byte range
which is fine for MemoryStore but not for LocalStore:
I also don't understand how this works if the byte_range is larger than the file.
Steps to reproduce
...
Additional output
No response