From 507da9d8ea06346639c907fba217f7876ba03029 Mon Sep 17 00:00:00 2001 From: BRAUN REMI Date: Wed, 25 Sep 2024 12:34:00 +0200 Subject: [PATCH] Fix CI with sertit 1.42.1 --- CI/scripts_utils.py | 4 ++-- requirements.txt | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CI/scripts_utils.py b/CI/scripts_utils.py index a100eb35..634bf6b6 100644 --- a/CI/scripts_utils.py +++ b/CI/scripts_utils.py @@ -150,8 +150,8 @@ def broken_s2_path(): return get_ci_db_dir().joinpath("broken_s2") -def s3_env(function): - return unistra.s3_env(use_s3_env_var=CI_EOREADER_S3)(function) +def s3_env(*args, **kwargs): + return unistra.s3_env(use_s3_env_var=CI_EOREADER_S3, *args, **kwargs) def compare(to_be_checked, ref, topic): diff --git a/requirements.txt b/requirements.txt index 9fc84f1d..1e76bf01 100644 --- a/requirements.txt +++ b/requirements.txt @@ -39,7 +39,7 @@ shapely>=2.0.0 spyndex>=0.3.0 # SERTIT libs -sertit[full]>=1.42.0 +sertit[full]>=1.42.1 # Optimizations dask[complete]>=2024.5.1 # numpy >= 2 diff --git a/setup.py b/setup.py index 5e9de7a2..9f06e860 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ "rioxarray>=0.10.0", "odc-geo>=0.4.6", "geopandas>=1.0.0", - "sertit[full]>=1.42.0", + "sertit[full]>=1.42.1", "spyndex>=0.3.0", "pyresample", "zarr",