Skip to content

Commit ccf994b

Browse files
committed
Only support NumPy 1.26 and 2.0
1 parent db5b8cb commit ccf994b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/array-api-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ['3.8', '3.9', '3.10', '3.11']
12-
numpy-version: ['1', 'dev']
11+
python-version: ['3.9', '3.10', '3.11']
12+
numpy-version: ['1.26', 'dev']
1313
exclude:
1414
- python-version: '3.8'
1515
numpy-version: 'dev'
@@ -35,7 +35,7 @@ jobs:
3535
if [[ "${{ matrix.numpy-version }}" == "dev" ]]; then
3636
python -m pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy;
3737
else
38-
python -m pip install 'numpy<2.0';
38+
python -m pip install 'numpy>=1.26,<2.0';
3939
fi
4040
- name: Run the array API testsuite
4141
env:

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
python-version: ['3.8', '3.9', '3.10', '3.11']
9-
numpy-version: ['1', 'dev']
8+
python-version: ['3.9', '3.10', '3.11']
9+
numpy-version: ['1.26', 'dev']
1010
exclude:
1111
- python-version: '3.8'
1212
numpy-version: 'dev'
@@ -22,7 +22,7 @@ jobs:
2222
if [[ "${{ matrix.numpy-version }}" == "dev" ]]; then
2323
python -m pip install --pre --extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy;
2424
else
25-
python -m pip install 'numpy<2.0';
25+
python -m pip install 'numpy>=1.26,<2.0';
2626
fi
2727
python -m pip install -r requirements-tests.txt
2828
- name: Run Tests

0 commit comments

Comments
 (0)