Skip to content

Commit 9a140dd

Browse files
committed
With Python 3.12, only numpy 1.26 seems to install cleanly
1 parent d77dd43 commit 9a140dd

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ ubuntu-latest ]
15-
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
15+
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
1616
numpy-version: [ "1.20", "1.21", "1.22", "1.23", "1.24", "1.25", "1.26" ]
1717
exclude:
1818
- python-version: "3.8"
@@ -30,6 +30,10 @@ jobs:
3030
- python-version: "3.11"
3131
numpy-version: "1.21"
3232
os: ubuntu-latest
33+
include:
34+
- python-version: "3.12"
35+
numpy-version: "1.26"
36+
os: ubuntu-latest
3337
steps:
3438
- uses: actions/checkout@v2
3539

@@ -56,7 +60,6 @@ jobs:
5660
run: |
5761
python -m pip install -U pip
5862
python -m pip install -U setuptools
59-
python -m pip install -U six # needed by setuptools
6063
python -m pip install -U wheel
6164
python -m pip install -U pytest
6265
python -m pip install "numpy==${{ matrix.numpy-version }}"
@@ -76,7 +79,7 @@ jobs:
7679
fail-fast: false
7780
matrix:
7881
os: [ ubuntu-latest ]
79-
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
82+
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
8083
numpy-version: [ "1.22", "1.23", "1.24", "1.25", "1.26" ]
8184
exclude:
8285
- python-version: "3.8"
@@ -85,6 +88,10 @@ jobs:
8588
- python-version: "3.8"
8689
numpy-version: "1.26"
8790
os: ubuntu-latest
91+
include:
92+
- python-version: "3.12"
93+
numpy-version: "1.26"
94+
os: ubuntu-latest
8895
steps:
8996
- uses: actions/checkout@v2
9097

@@ -111,7 +118,6 @@ jobs:
111118
run: |
112119
python -m pip install -U pip
113120
python -m pip install -U setuptools
114-
python -m pip install -U six # needed by setuptools
115121
python -m pip install -U wheel
116122
python -m pip install "numpy==${{ matrix.numpy-version }}"
117123
python -m pip install -U mypy

0 commit comments

Comments
 (0)