Skip to content

Commit 4ff1601

Browse files
committed
Remove numcodecs version check in zstd codec so we can use local wheel which has wrong version number
1 parent 9e8b50a commit 4ff1601

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/zarr/codecs/zstd.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ class ZstdCodec(BytesBytesCodec):
4545
def __init__(self, *, level: int = 0, checksum: bool = False) -> None:
4646
# numcodecs 0.13.0 introduces the checksum attribute for the zstd codec
4747
_numcodecs_version = Version(numcodecs.__version__)
48-
if _numcodecs_version < Version("0.13.0"):
49-
raise RuntimeError(
50-
"numcodecs version >= 0.13.0 is required to use the zstd codec. "
51-
f"Version {_numcodecs_version} is currently installed."
52-
)
48+
# if _numcodecs_version < Version("0.13.0"):
49+
# raise RuntimeError(
50+
# "numcodecs version >= 0.13.0 is required to use the zstd codec. "
51+
# f"Version {_numcodecs_version} is currently installed."
52+
# )
5353

5454
level_parsed = parse_zstd_level(level)
5555
checksum_parsed = parse_checksum(checksum)

0 commit comments

Comments
 (0)