From b3569346dabb156ec1257bce4a2a692daf2dd718 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Wed, 30 Oct 2024 14:18:46 +0100 Subject: [PATCH] numba isn't out on Python 3.13 yet and unpin numpy --- .github/workflows/tests.yml | 9 ++++++--- requirements-dev.txt | 1 - requirements.txt | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 872d268..c4ddd88 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,6 +13,10 @@ jobs: python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] os: [ windows-latest, ubuntu-latest, macos-latest ] numba: [true, false] + # Numba is not out on Python 3.13 yet. + exclude: + - python-version: "3.13" + numba: true fail-fast: false defaults: run: @@ -37,10 +41,9 @@ jobs: python -m pip install -e . --no-deps --force-reinstall - name: numba - # numba is listed in requirements.txt so we need to remove it below. - if: ${{ ! matrix.numba }} + if: ${{ matrix.numba }} run: | - micromamba remove numba + micromamba install numba - name: Tests run: | diff --git a/requirements-dev.txt b/requirements-dev.txt index bb02da3..75e9597 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,5 +2,4 @@ bokeh dask erddapy nco -numba pytest diff --git a/requirements.txt b/requirements.txt index ebd9d02..b80b169 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ geographiclib geojson h5netcdf jsonschema -numpy>=1.14,<2 +numpy>=1.14 pandas pyparsing ruamel.yaml