Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:numeric
python-zarr
zarr-numcodecs-zstd-test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zarr-numcodecs-zstd-test.patch of Package python-zarr
diff -ur zarr-2.18.3.orig/zarr/tests/test_meta.py zarr-2.18.3/zarr/tests/test_meta.py --- zarr-2.18.3.orig/zarr/tests/test_meta.py 2024-09-25 10:57:44.283821145 +0200 +++ zarr-2.18.3/zarr/tests/test_meta.py 2024-09-25 11:02:00.958310578 +0200 @@ -4,6 +4,7 @@ import numpy as np import pytest +from numcodecs.version import version_tuple as nc_version from zarr.codecs import Blosc, Delta, Pickle, Zlib, Zstd from zarr.errors import MetadataError @@ -296,7 +297,7 @@ "shape": [100, 10, 10], } - if cname == "zstd": + if cname == "zstd" and nc_version >= (0, 13): meta_expected["compressor"]["configuration"]["checksum"] = False meta_expected_json = json.dumps(meta_expected)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor