ome / ome-zarr-py

Implementation of next-generation file format (NGFF) specifications for storing bioimaging data in the cloud.
https://pypi.org/project/ome-zarr
Other
148 stars 52 forks source link

[test-bot] pip install --pre is failing #302

Open github-actions[bot] opened 10 months ago

github-actions[bot] commented 10 months ago

The Test pre-releases workflow failed on 2024-06-16 01:10 UTC

The most recent failing test was on windows-latest py py39 with commit: ad279574872087e048e66b3a646bfd73b4977f39

Full run: https://github.com/ome/ome-zarr-py/actions/runs/9532192034

(This post will be updated if another test fails, as long as this issue remains open.)

jluethi commented 10 months ago

Also just ran into this and noticed that it depends on the version of fsspec: It was working fine for me on prior versions (like the one just before, fsspec==2023.6.0), but breaks with fsspec==2023.9.0

blowekamp commented 10 months ago

I have also encountered errors with the fsspec==2023.9.0 update and having to exclude the versions for my dependencies. Here is a small example to reproduce the error we have encountered:

from ome_zarr.io import parse_url
from ome_zarr.writer import write_image
from ome_zarr.scale import Scaler
import numpy as np
import zarr
path = "test.zarr"
data = np.ndarray((10,10))
store = parse_url(path, mode="w").store
root = zarr.group(store=store)
scaler = Scaler(max_layer=0, method="nearest")
 write_image(image=data, axes="yx", group=root, scaler=scaler)
write_image(image=data, group=root)