Skip to content

Commit d0b6328

Browse files
committed
update built matrix exclusions; install setuptools since distutils is gone from Python 3.12
1 parent c5f254b commit d0b6328

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
1616
numpy-version: [ "1.20", "1.21", "1.22", "1.23", "1.24", "1.25", "1.26" ]
1717
exclude:
18+
- python-version: "3.8"
19+
numpy-version: "1.25"
20+
os: ubuntu-latest
21+
- python-version: "3.8"
22+
numpy-version: "1.26"
23+
os: ubuntu-latest
1824
- python-version: "3.10"
1925
numpy-version: "1.20"
2026
os: ubuntu-latest
@@ -49,6 +55,7 @@ jobs:
4955
- name: Install dependencies
5056
run: |
5157
python -m pip install -U pip
58+
python -m pip install -U setuptools
5259
python -m pip install -U wheel
5360
python -m pip install -U pytest
5461
python -m pip install "numpy==${{ matrix.numpy-version }}"
@@ -70,6 +77,13 @@ jobs:
7077
os: [ ubuntu-latest ]
7178
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
7279
numpy-version: [ "1.22", "1.23", "1.24", "1.25", "1.26" ]
80+
exclude:
81+
- python-version: "3.8"
82+
numpy-version: "1.25"
83+
os: ubuntu-latest
84+
- python-version: "3.8"
85+
numpy-version: "1.26"
86+
os: ubuntu-latest
7387
steps:
7488
- uses: actions/checkout@v2
7589

@@ -95,6 +109,7 @@ jobs:
95109
- name: Install dependencies
96110
run: |
97111
python -m pip install -U pip
112+
python -m pip install -U setuptools
98113
python -m pip install -U wheel
99114
python -m pip install "numpy==${{ matrix.numpy-version }}"
100115
python -m pip install -U mypy

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ classifiers = [
2525
"Topic :: Scientific/Engineering"
2626
]
2727
dependencies = [
28-
"numpy>=1.19"
28+
"numpy>=1.20"
2929
]
3030
dynamic = ["version"]
3131

0 commit comments

Comments
 (0)