diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 77a29b75..930ccfa6 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.10", "3.11","3.12"] steps: - uses: actions/checkout@v4 with: @@ -31,11 +31,13 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: pip cache-dependency-path: pyproject.toml + - name: 🎯 Check cache hit + run: echo '${{ steps.setup-python.outputs.cache-hit }}' - name: 🌈 Install pangeo-forge-recipes package shell: bash -l {0} run: | - python -m pip install --upgrade pip python -m pip install -e ".[test]" - name: 🧑‍💻 On the nightly run, test upstream dev versions if: | diff --git a/pyproject.toml b/pyproject.toml index 2644e259..301fbbf9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,7 @@ [build-system] -requires = ["setuptools>=67.7.2", "wheel", "setuptools_scm[toml]>=8.0"] +requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"] build-backend = "setuptools.build_meta" - - [project] name = "pangeo-forge-recipes" dynamic = ["version"] @@ -27,18 +25,18 @@ classifiers = [ license = { text = "Apache-2.0" } keywords = ["pangeo", "data"] dependencies = [ - "apache-beam == 2.58.1 ", + "apache-beam>=2.48", "cftime", - "dask >= 2021.11.2", + "dask", "fastparquet", - "fsspec[http] >= 2023.4.0", + "fsspec[http]", "h5netcdf", - "h5py >= 3.3.0", - "kerchunk >= 0.0.7", + "h5py", + "kerchunk!=0.2.6", "netcdf4", - "numcodecs >= 0.9.0", - "xarray >= 0.18.0", - "zarr >= 2.12.0", + "numcodecs", + "xarray", + "zarr", ] [project.optional-dependencies]