diff --git a/pyproject.toml b/pyproject.toml index cf1b048fb..0bf1248f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -147,7 +147,7 @@ utm = { version = "^0.7.0", optional = true } scipy = { version = "^1.9.1", optional = true } shapely = { version = "^1.8.4", optional = true } -zarr = { version = "^2.7", optional = true } +zarr = { version = "^2.7", python = "<3.11", optional = true } xarray = { version = "^2022.3", optional = true } [tool.poetry.dev-dependencies] diff --git a/tests/provider/dwd/observation/test_io.py b/tests/provider/dwd/observation/test_io.py index 2fb216e74..89fa380bb 100644 --- a/tests/provider/dwd/observation/test_io.py +++ b/tests/provider/dwd/observation/test_io.py @@ -15,7 +15,6 @@ import pyarrow.feather as feather import pyarrow.parquet as pq import pytest -import zarr from surrogate import surrogate from wetterdienst.core.process import filter_by_date_and_resolution @@ -392,6 +391,9 @@ def test_export_parquet(tmpdir_factory): @pytest.mark.remote def test_export_zarr(tmpdir_factory): """Test export of DataFrame to zarr""" + + zarr = pytest.importorskip("zarr") + Settings.tidy = False Settings.humanize = True Settings.si_units = False