Skip to content

Commit 8c9c6e9

Browse files
authored
chore(deps): bump zarrs_metadata to 0.3.7 (#95)
`blosc` typesize workaround is no longer needed
1 parent dabb30c commit 8c9c6e9

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pyo3-stub-gen = "0.7.0"
2222
opendal = { version = "0.51.0", features = ["services-http"] }
2323
tokio = { version = "1.41.1", features = ["rt-multi-thread"] }
2424
zarrs_opendal = "0.5.0"
25-
zarrs_metadata = "0.3.3" # require recent zarr-python compatibility fixes (remove with zarrs 0.20)
25+
zarrs_metadata = "0.3.7" # require recent zarr-python compatibility fixes (remove with zarrs 0.20)
2626
itertools = "0.9.0"
2727

2828
[profile.release]

python/zarrs/pipeline.py

-5
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ def codecs_to_dict(codecs: Iterable[Codec]) -> Generator[dict[str, Any], None, N
7373
filters = None
7474
if codec_dict.get("compressor", None) is not None:
7575
compressor_json = codec_dict.get("compressor").get_config()
76-
# https://github.com/zarr-developers/numcodecs/pull/713 means
77-
# typesize is always present, but it's not expected
78-
# to be on v2 blosc codecs by zarrs.
79-
if compressor_json["id"] == "blosc":
80-
compressor_json.pop("typesize", None)
8176
compressor = json.dumps(compressor_json)
8277
else:
8378
compressor = None

0 commit comments

Comments
 (0)