From f77d9476f4d17fa55898732b2d1c99cac39f7258 Mon Sep 17 00:00:00 2001 From: Florian Pinault Date: Mon, 12 Feb 2024 10:25:31 +0000 Subject: [PATCH 1/2] disable CDS testing (as it current migration creates timeout) --- .github/workflows/test-and-release.yml | 33 ++++++++++++++------------ 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index c206225b..906bd879 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -121,11 +121,12 @@ jobs: CDSAPIRC: ${{ secrets.CDSAPIRC }} run: | import os - for n in ('ECMWFAPIRC', 'CDSAPIRC'): - m = os.path.expanduser("~/." + n.lower()) - if os.environ[n]: - with open(m, "w") as f: - print(os.environ[n], file=f) + # for n in ('ECMWFAPIRC', 'CDSAPIRC'): + n = 'ECMWFAPIRC' + m = os.path.expanduser("~/." + n.lower()) + if os.environ[n]: + with open(m, "w") as f: + print(os.environ[n], file=f) - name: Install climetlab run: pip install -e . # run: pip install .[interactive,tensorflow,zarr] - run: climetlab versions @@ -157,11 +158,12 @@ jobs: CDSAPIRC: ${{ secrets.CDSAPIRC }} run: | import os - for n in ('ECMWFAPIRC', 'CDSAPIRC'): - m = os.path.expanduser("~/." + n.lower()) - if os.environ[n]: - with open(m, "w") as f: - print(os.environ[n], file=f) + # for n in ('ECMWFAPIRC', 'CDSAPIRC'): + n = 'ECMWFAPIRC' + m = os.path.expanduser("~/." + n.lower()) + if os.environ[n]: + with open(m, "w") as f: + print(os.environ[n], file=f) - name: Install climetlab run: pip install -e . # run: pip install .[interactive,tensorflow,zarr] - run: climetlab versions @@ -205,11 +207,12 @@ jobs: CDSAPIRC: ${{ secrets.CDSAPIRC }} run: | import os - for n in ('ECMWFAPIRC', 'CDSAPIRC'): - m = os.path.expanduser("~/." + n.lower()) - if os.environ[n]: - with open(m, "w") as f: - print(os.environ[n], file=f) + # for n in ('ECMWFAPIRC', 'CDSAPIRC'): + n = 'ECMWFAPIRC' + m = os.path.expanduser("~/." + n.lower()) + if os.environ[n]: + with open(m, "w") as f: + print(os.environ[n], file=f) - name: Install climetlab run: pip install -e . - run: climetlab versions From 5bc84ef1a4192d79bb653f830abdc93536ffe095 Mon Sep 17 00:00:00 2001 From: Florian Pinault Date: Mon, 12 Feb 2024 10:35:01 +0000 Subject: [PATCH 2/2] Bump version 0.20.5 --- climetlab/version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/climetlab/version b/climetlab/version index 6dd46024..1b619f34 100644 --- a/climetlab/version +++ b/climetlab/version @@ -1 +1 @@ -0.20.4 +0.20.5