Skip to content

Commit b6370dc

Browse files
authored
Merge pull request #202 from jakevdp/numpy-version
CI: bump numpy version to fix errors
2 parents 37bbb58 + d2f4a3c commit b6370dc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/numpy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: [3.8, 3.9]
11+
python-version: ["3.10", "3.11"]
1212

1313
steps:
1414
- name: Checkout array-api-tests
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
python -m pip install numpy==1.22.1
25+
python -m pip install numpy==1.26.2
2626
python -m pip install -r requirements.txt
2727
- name: Run the test suite
2828
env:

numpy-skips.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ array_api_tests/test_linalg.py::test_trace
99
# https://github.com/numpy/numpy/issues/20326#issuecomment-1012380448
1010
array_api_tests/test_set_functions.py
1111

12+
# newaxis not included in numpy namespace as of v1.26.2
13+
array_api_tests/test_constants.py::test_newaxis
14+
15+
# linalg.solve issue in numpy.array_api as of v1.26.2 (see numpy#25146)
16+
array_api_tests/test_linalg.py::test_solve
17+
1218
# https://github.com/numpy/numpy/issues/21373
1319
array_api_tests/test_array_object.py::test_getitem
1420

0 commit comments

Comments
 (0)