File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -134,22 +134,16 @@ def _importorskip(
134
134
if has_zarr_v3 :
135
135
import zarr
136
136
137
+ # manual update by checking attrs for now
138
+ # TODO: use version specifier
139
+ # installing from git main is giving me a lower version than the
140
+ # most recently released zarr
137
141
has_zarr_v3_dtypes = hasattr (zarr .core , "dtype" )
138
142
139
- # has_zarr_v3_dtypes = hasattr(zarr.Array.metadata.data_type, "to_native_dtype")
140
143
requires_zarr_v3_dtypes = pytest .mark .skipif (
141
144
not has_zarr_v3_dtypes , reason = "requires zarr>3.0.10 (including dev versions)"
142
145
)
143
146
144
- # Additional check for zarr dtype support (dev versions > 3.0.9)
145
- # if has_zarr:
146
- # import zarr
147
- #
148
- # # Dev versions like "3.0.10.dev47+g9da38f75" are > "3.0.10"
149
- # has_zarr_v3_dtypes = has_zarr_v3_dtypes or (
150
- # Version(zarr.__version__) > Version("3.0.10")
151
- # )
152
-
153
147
has_fsspec , requires_fsspec = _importorskip ("fsspec" )
154
148
has_iris , requires_iris = _importorskip ("iris" )
155
149
has_numbagg , requires_numbagg = _importorskip ("numbagg" )
You can’t perform that action at this time.
0 commit comments