From 7b419927e5e09cd6eae6eb1416c363eee6293ee0 Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Wed, 7 Feb 2024 10:33:57 -0500 Subject: [PATCH 1/2] pin intake-esm for Python3.9 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 722303ee..3c55de68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,8 @@ dependencies = [ "geopandas", "h5netcdf", "h5py", - "intake-esm>=2023.07.07", + "intake-esm >=2023.07.07,=2023.07.07; python_version >= '3.10'", "matplotlib", "netCDF4", "numcodecs", From 4c8b76a8a7bfc1969f577e2f99995d9297fc3f73 Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Wed, 7 Feb 2024 10:46:28 -0500 Subject: [PATCH 2/2] add downgrade step for Python3.9 --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c365dc2f..ed06b7be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -147,6 +147,10 @@ jobs: create-args: >- mamba python=${{ matrix.python-version }} + - name: Downgrade intake-esm + if: matrix.python-version == '3.9' + run: | + micromamba install -y -c conda-forge intake-esm=2023.11.10 - name: Conda and Mamba versions run: | mamba --version