From 30a83f17ba7228b5d309be8db273390a9147a485 Mon Sep 17 00:00:00 2001 From: sharkinsspatial Date: Fri, 25 Oct 2024 10:48:35 -0400 Subject: [PATCH] Make HDR reader dependencies optional. --- ci/min-deps.yml | 7 ------- pyproject.toml | 7 ++----- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/ci/min-deps.yml b/ci/min-deps.yml index af4a732..f64b9dd 100644 --- a/ci/min-deps.yml +++ b/ci/min-deps.yml @@ -3,18 +3,14 @@ channels: - conda-forge - nodefaults dependencies: - - h5netcdf - - h5py - hdf5 - netcdf4 - xarray>=2024.6.0 - numpy>=2.0.0 - numcodecs - - imagecodecs>=2024.6.1 - packaging - ujson - universal_pathlib - - hdf5plugin # Testing - codecov - pre-commit @@ -26,6 +22,3 @@ dependencies: - pytest - pooch - fsspec - - pip - - pip: - - imagecodecs-numcodecs==2024.6.1 diff --git a/pyproject.toml b/pyproject.toml index 672398f..6445303 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,11 +25,7 @@ dependencies = [ "numpy>=2.0.0", "packaging", "universal-pathlib", - "h5py", - "hdf5plugin", "numcodecs", - "imagecodecs", - "imagecodecs-numcodecs==2024.6.1", "ujson", ] @@ -41,11 +37,12 @@ test = [ "h5netcdf", "h5py", "hdf5plugin", + "imagecodecs", + "imagecodecs-numcodecs==2024.6.1", "kerchunk>=0.2.5", "mypy", "netcdf4", "numcodecs", - "imagecodecs-numcodecs", "pandas-stubs", "pooch", "pre-commit",