File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414from virtualizarr .manifests .manifest import ChunkManifest
1515from virtualizarr .manifests .utils import ChunkKeySeparator
1616
17- # Type-check against the min-deps name (RegularChunkGrid) while keeping a
18- # runtime try/except so both zarr-python <=3.1.6 and >3.1.6 work. Version
19- # sniffing is unreliable under hatch-vcs when installed from a git source
20- # without fetched tags.
2117if TYPE_CHECKING :
22- from zarr .core .metadata .v3 import RegularChunkGrid as RegularChunkGridMetadata
18+ from zarr .core .metadata .v3 import RegularChunkGridMetadata
2319else :
2420 try :
2521 from zarr .core .metadata .v3 import RegularChunkGridMetadata # zarr-python>3.1.6
Original file line number Diff line number Diff line change 2828from virtualizarr .manifests .utils import ChunkKeySeparator
2929from virtualizarr .utils import determine_chunk_grid_shape
3030
31- # Type-check against the min-deps name (RegularChunkGrid) while keeping a
32- # runtime try/except so both zarr-python <=3.1.6 and >3.1.6 work. Version
33- # sniffing is unreliable under hatch-vcs when installed from a git source
34- # without fetched tags.
3531if TYPE_CHECKING :
36- from zarr .core .metadata .v3 import RegularChunkGrid as RegularChunkGridMetadata
32+ from zarr .core .metadata .v3 import RegularChunkGridMetadata
3733else :
3834 try :
3935 from zarr .core .metadata .v3 import RegularChunkGridMetadata # zarr-python>3.1.6
You can’t perform that action at this time.
0 commit comments