From 938a7063cfef4793045b398253de05d3bb003b3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dav=C3=ADd=20Brakenhoff?= Date: Thu, 26 Sep 2024 14:46:38 +0200 Subject: [PATCH] drop python 3.9 remove numpy pins for python 3.12 --- .github/workflows/ci.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08a6c71..c329126 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.11 cache: "pip" cache-dependency-path: pyproject.toml @@ -47,7 +47,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] pastas-version: [ "git+https://github.com/pastas/pastas.git@v0.22.0", @@ -74,23 +74,12 @@ jobs: cache: "pip" cache-dependency-path: pyproject.toml - - name: Install dependencies < PY312 - if: ${{ matrix.python-version != '3.12'}} + - name: Install dependencies run: | pip install --upgrade pip - pip install numpy pip install ${{ matrix.pastas-version }} pip install -e .[test] - - name: Install dependencies == PY312 - if: ${{ matrix.python-version == '3.12'}} - run: | - pip install --upgrade pip - # TODO: remove numpy pin when numba or ? doesn't crash on NaN being deprecated - pip install "numpy<2.0" - pip install ${{ matrix.pastas-version }} - pip install -e .[test_py312] - - name: Run pytest run: | pytest -m "not (bgmap or pastas150)"