Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Commit c380ce0

Browse files
authored
Adjust bfio & fsspec versions to avoid bugs (#537)
* Limit fsspec version for now due to glob bug * Pin bfio version to 2.3.0 to avoid change that is keeping files open * Remove whitespace
1 parent 942cc53 commit c380ce0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

aicsimageio/readers/nd2_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def _xarr_reformat(self, delayed: bool) -> xr.DataArray:
9292
xarr.attrs[constants.METADATA_PROCESSED] = self.ome_metadata
9393
except NotImplementedError:
9494
pass
95-
95+
9696
return xarr.isel({nd2.AXIS.POSITION: 0}, missing_dims="ignore")
9797

9898
@property

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def run(self):
3636
],
3737
"nd2": ["nd2[legacy]>=0.6.0"],
3838
"dv": ["mrc>=0.2.0"],
39-
"bfio": ["bfio>=2.3.0", "tifffile<2022.4.22"],
39+
"bfio": ["bfio==2.3.0", "tifffile<2022.4.22"],
4040
# "czi": [ # excluded for licensing reasons
4141
# "fsspec>=2022.8.0",
4242
# "aicspylibczi>=3.1.1",
@@ -101,7 +101,9 @@ def run(self):
101101

102102
requirements = [
103103
"dask[array]>=2021.4.1,<=2023.5.0",
104-
"fsspec>=2022.8.0",
104+
# fssspec restricted due to glob issue tracked here, when fixed remove ceiling
105+
# https://github.com/fsspec/filesystem_spec/issues/1380
106+
"fsspec>=2022.8.0,<2023.9.0",
105107
"imagecodecs>=2020.5.30",
106108
"lxml>=4.6,<5",
107109
"numpy>=1.16,<=1.24.0",

0 commit comments

Comments
 (0)