Skip to content

Commit

Permalink
drop python 3.9
Browse files Browse the repository at this point in the history
remove numpy pins for python 3.12
  • Loading branch information
dbrakenhoff committed Sep 26, 2024
1 parent 8667256 commit 938a706
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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",
Expand All @@ -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)"
Expand Down

0 comments on commit 938a706

Please sign in to comment.