Skip to content

Commit f1d2fdc

Browse files
committed
fix
1 parent b48098e commit f1d2fdc

File tree

2 files changed

+22
-30
lines changed

2 files changed

+22
-30
lines changed

.github/workflows/array-api-tests-numpy-1-22.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
package-name: numpy
1010
package-version: '== 1.22.*'
1111
xfails-file-extra: '-1-22'
12-
python-versions: '[''3.10'', ''3.12'']'
12+
python-versions: '[''3.10'']'

.github/workflows/tests.yml

+21-29
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,21 @@ jobs:
66
strategy:
77
matrix:
88
include:
9-
- python-version: '3.10'
10-
numpy-version: '1.22'
11-
- python-version: '3.10'
12-
numpy-version: '1.26'
13-
- python-version: '3.10'
14-
numpy-version: 'latest'
15-
- python-version: '3.11'
16-
numpy-version: 'dev'
17-
- python-version: '3.12'
18-
numpy-version: '1.22'
19-
- python-version: '3.12'
20-
numpy-version: '1.26'
21-
- python-version: '3.13'
22-
numpy-version: 'latest'
23-
- python-version: '3.13'
24-
numpy-version: 'dev'
25-
9+
- numpy-version: '1.22'
10+
python-version: '3.10'
11+
- numpy-version: '1.26'
12+
python-version: '3.10'
13+
- numpy-version: '1.26'
14+
python-version: '3.12'
15+
- numpy-version: 'latest'
16+
python-version: '3.10'
17+
- numpy-version: 'latest'
18+
python-version: '3.13'
19+
- numpy-version: 'dev'
20+
python-version: '3.11'
21+
- numpy-version: 'dev'
22+
python-version: '3.13'
23+
2624
fail-fast: false
2725
steps:
2826
- uses: actions/checkout@v4
@@ -32,23 +30,17 @@ jobs:
3230
- name: Install Dependencies
3331
run: |
3432
python -m pip install --upgrade pip
33+
python -m pip install pytest
34+
3535
if [ "${{ matrix.numpy-version }}" == "dev" ]; then
36-
python -m pip install pytest
3736
python -m pip install numpy --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
3837
elif [ "${{ matrix.numpy-version }}" == "1.22" ]; then
39-
python -m pip install pytest numpy==1.22.*
38+
python -m pip install 'numpy==1.22.*'
4039
elif [ "${{ matrix.numpy-version }}" == "1.26" ]; then
41-
python -m pip install pytest numpy==1.26.*
40+
python -m pip install 'numpy==1.26.*'
4241
else
43-
# Don't pip install .[dev] as it would pull in the whole torch cuda stack
44-
python -m pip install \
45-
array-api-strict \
46-
dask[array] \
47-
jax[cpu] \
48-
numpy \
49-
pytest \
50-
sparse \
51-
ndonnx \
42+
# Don't `pip install .[dev]` as it would pull in the whole torch cuda stack
43+
python -m pip install array-api-strict dask[array] jax[cpu] ndonnx numpy sparse
5244
python -m -pip install torch --index-url https://download.pytorch.org/whl/cpu
5345
fi
5446

0 commit comments

Comments
 (0)