From f364f46c2bf6f69b80518eb395ee7c71a10c0ee9 Mon Sep 17 00:00:00 2001 From: Sandor Kertesz Date: Thu, 15 Aug 2024 17:46:11 +0100 Subject: [PATCH] Update cds dependencies in setup (#431) --- environment.yml | 3 ++- pyproject.toml | 9 ++++++--- tests/environment-unit-tests.yml | 3 ++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/environment.yml b/environment.yml index 363ba7a5..4143c1d1 100644 --- a/environment.yml +++ b/environment.yml @@ -19,7 +19,8 @@ dependencies: - entrypoints - jupyterlab - ecmwf-api-client>=1.6.1 -- cdsapi +- cdsapi>=0.7.0 +- cads-api-client>=1.2.0 - hda - pip: - multiurl diff --git a/pyproject.toml b/pyproject.toml index 9ab392b8..36e023a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,8 +50,9 @@ dependencies = [ "xarray>=0.19", ] optional-dependencies.all = [ + "cads-api-client>=1.2", "cartopy", - "cdsapi", + "cdsapi>=0.7", "eccovjson>=0.0.5", "ecmwf-api-client>=1.6.1", "ecmwf-opendata>=0.3.3", @@ -62,15 +63,17 @@ optional-dependencies.all = [ "pyodc", ] optional-dependencies.cds = [ - "cdsapi", + "cads-api-client>=1.2", + "cdsapi>=0.7", ] optional-dependencies.ci = [ "array-api-compat", "torch", ] optional-dependencies.dev = [ + "cads-api-client>=1.2", "cartopy", - "cdsapi", + "cdsapi>=0.7", "earthkit-data-demo-source", "eccovjson>=0.0.5", "ecmwf-api-client>=1.6.1", diff --git a/tests/environment-unit-tests.yml b/tests/environment-unit-tests.yml index 14f936c9..0ca5bd9c 100644 --- a/tests/environment-unit-tests.yml +++ b/tests/environment-unit-tests.yml @@ -20,7 +20,8 @@ dependencies: - entrypoints - jupyterlab - ecmwf-api-client>=1.6.1 -- cdsapi +- cdsapi>=0.7.0 +- cads-api-client>=1.2.0 - hda - jsonschema - pip: