Skip to content

Commit 2cf93c1

Browse files
authored
Merge pull request scipy#21832 from mdhaber/gh21828
CI: constrain array-api-strict version to allow conversion to NumPy array
2 parents 6ec0cbe + a3f1222 commit 2cf93c1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/array_api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
7474
- name: Install Python packages
7575
run: |
76-
python -m pip install numpy cython pytest pytest-xdist pytest-timeout pybind11 mpmath gmpy2 pythran ninja meson click rich-click doit pydevtool pooch hypothesis array-api-strict
76+
python -m pip install numpy cython pytest pytest-xdist pytest-timeout pybind11 mpmath gmpy2 pythran ninja meson click rich-click doit pydevtool pooch hypothesis array-api-strict==2.1.0
7777
7878
- name: Install PyTorch CPU
7979
run: |

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies:
2929
- pytest-timeout
3030
- asv >=0.6
3131
- hypothesis
32-
- array-api-strict
32+
- array-api-strict<2.1.1
3333
# For type annotations
3434
- mypy
3535
- typing_extensions

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ test = [
8383
"scikit-umfpack",
8484
"pooch",
8585
"hypothesis>=6.30",
86-
"array-api-strict>=2.0",
86+
"array-api-strict>=2.0,<2.1.1",
8787
"Cython",
8888
"meson",
8989
'ninja; sys_platform != "emscripten"',

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ threadpoolctl
1111
# scikit-umfpack # circular dependency issues
1212
pooch
1313
hypothesis>=6.30
14-
array-api-strict>=2.0
14+
array-api-strict>=2.0,<2.1.1
1515
Cython
1616
meson
1717
ninja; sys_platform != "emscripten"

0 commit comments

Comments
 (0)