From 105a5bb70396c2e0c92cd964c3c55ad28fd7e7fb Mon Sep 17 00:00:00 2001 From: David Manthey Date: Thu, 9 Jan 2025 11:35:48 -0500 Subject: [PATCH] Pin zarr < 3 We expect to be able to read zarr stored in the SQLiteStore format, and zarr hasn't released a zarr-3 compatible package for this yet. --- CHANGELOG.md | 3 ++- sources/zarr/setup.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc802847f..fdf0bb791 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ - Read jp2k compressed associated images in tiff files ([#1754](../../pull/1754)) - Improve writing to zarr sinks from multiple processes ([#1713](../../pull/1713)) - Slightly faster GDAL validateCOG ([#1761](../../pull/1761)) -- Improve clearing caches ([#1765](../../pull/1765)) +- Improve clearing caches ([#1766](../../pull/1766)) ### Changes @@ -24,6 +24,7 @@ - Don't include cache libraries in [common] deployments ([#1758](../../pull/1758)) - Specify empty_dir=yes when constructing vsicurl parameters ([#1760](../../pull/1760)) - Update how some associated images are read in tiff files ([#1763](../../pull/1763)) +- Pin zarr < 3 ([#1767](../../pull/1767)) ### Bug Fixes diff --git a/sources/zarr/setup.py b/sources/zarr/setup.py index 752d82a70..5bd9c48b2 100644 --- a/sources/zarr/setup.py +++ b/sources/zarr/setup.py @@ -53,7 +53,8 @@ def prerelease_local_scheme(version): ], install_requires=[ f'large-image{limit_version}', - 'zarr', + # zarr 3 removes the SQLiteStore + 'zarr<3', # numcodecs had been required by zarr, but now needs to be asked for 'numcodecs', # Without imagecodecs-numcodecs, some jpeg encoded data cannot be read