Skip to content

Commit

Permalink
With Python 3.12, only numpy 1.26 seems to install cleanly
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Dec 8, 2023
1 parent d77dd43 commit 9a140dd
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
numpy-version: [ "1.20", "1.21", "1.22", "1.23", "1.24", "1.25", "1.26" ]
exclude:
- python-version: "3.8"
Expand All @@ -30,6 +30,10 @@ jobs:
- python-version: "3.11"
numpy-version: "1.21"
os: ubuntu-latest
include:
- python-version: "3.12"
numpy-version: "1.26"
os: ubuntu-latest
steps:
- uses: actions/checkout@v2

Expand All @@ -56,7 +60,6 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install -U setuptools
python -m pip install -U six # needed by setuptools
python -m pip install -U wheel
python -m pip install -U pytest
python -m pip install "numpy==${{ matrix.numpy-version }}"
Expand All @@ -76,7 +79,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
numpy-version: [ "1.22", "1.23", "1.24", "1.25", "1.26" ]
exclude:
- python-version: "3.8"
Expand All @@ -85,6 +88,10 @@ jobs:
- python-version: "3.8"
numpy-version: "1.26"
os: ubuntu-latest
include:
- python-version: "3.12"
numpy-version: "1.26"
os: ubuntu-latest
steps:
- uses: actions/checkout@v2

Expand All @@ -111,7 +118,6 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install -U setuptools
python -m pip install -U six # needed by setuptools
python -m pip install -U wheel
python -m pip install "numpy==${{ matrix.numpy-version }}"
python -m pip install -U mypy
Expand Down

0 comments on commit 9a140dd

Please sign in to comment.