File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 33- bump bioimageio.spec library version to 0.5.5.6
44- Replace ` conda activate <env name> ` with ` conda run -n <env name> python --version ` when checking if a conda environment exists
55 (This is closer to the actual ` conda run ` command we need and avoids requests by conda to rerun ` conda init ` (in CI).)
6+ - remove upper xarray pin (use ops from xarray.computation.ops, fallback to xarray.core.ops for older xarray versions)
67
78### 0.9.3
89
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ dependencies = [
1818 " scipy" ,
1919 " tqdm" ,
2020 " typing-extensions" ,
21- " xarray>=2023.01,<2025.3.0 " ,
21+ " xarray>=2023.01" ,
2222]
2323classifiers = [
2424 " Development Status :: 3 - Alpha" ,
Original file line number Diff line number Diff line change 66from typing import Any , Callable
77
88from typing_extensions import Self
9- from xarray .core import nputils , ops
9+ from xarray .core import nputils
10+
11+ try :
12+ # xarray >= 2025.03
13+ from xarray .computation import ops
14+ except ImportError :
15+ # xarray < 2025.03
16+ from xarray .core import ops # type: ignore
1017
1118
1219class MagicTensorOpsMixin :
You can’t perform that action at this time.
0 commit comments