Skip to content

Commit

Permalink
Limiting the versions of zarr (#257)
Browse files Browse the repository at this point in the history
zarr v3 will be out soon so let's reduce
  • Loading branch information
uriii3 authored Jan 8, 2025
1 parent cd6da51 commit e54b0d6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ requests = ">=2.27.1"
setuptools = ">=68.2.2"
xarray = ">=2023.4.0"
tqdm = ">=4.65.0"
zarr = ">=2.13.3"
zarr = "^2.13.3"
dask = ">=2022"
boto3 = ">=1.26"
semver = ">=3.0.2"
Expand Down
2 changes: 1 addition & 1 deletion tests/__snapshots__/test_dependencies_updates.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
'setuptools': '>=68.2.2',
'tqdm': '>=4.65.0',
'xarray': '>=2023.4.0',
'zarr': '>=2.13.3',
'zarr': '^2.13.3',
})
# ---
2 changes: 1 addition & 1 deletion tests/test_command_line_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def test_get_download_s3_without_regex(self, tmp_path):
self.output = execute_in_terminal(command)
downloaded_files = get_all_files_in_folder_tree(folder=tmp_path)
assert self.output.returncode == 0
assert len(downloaded_files) == 29
assert len(downloaded_files) == 31

def test_get_download_s3_with_regex(self, tmp_path):
regex = ".*_(2001|2002|2003).*.nc"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_get_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_get_sync_works_for_dataset_with_no_default_parts(self, tmp_path):
"-o",
f"{tmp_path}",
"--filter",
"*20241203/NO_TS_TG_ZwartsluisTG_20241203*",
"*/NO_TS_TG_ZwartsluisTG*",
"--response-fields",
"all",
]
Expand All @@ -71,7 +71,7 @@ def test_get_sync_works_for_dataset_with_no_default_parts(self, tmp_path):
file_to_check = (
"INSITU_GLO_PHYBGCWAV_DISCRETE_MYNRT_013_030/"
"cmems_obs-ins_glo_phybgcwav_mynrt_na_irr_202311/"
"latest/20241203/NO_TS_TG_ZwartsluisTG_20241203.nc"
"latest/"
)
assert [
"found"
Expand Down

0 comments on commit e54b0d6

Please sign in to comment.