Skip to content

Commit c757262

Browse files
authored
Merge pull request #99 from asmeurer/hypothesis-pin
Temporarily pin hypothesis on CI
2 parents 74b7b79 + 64d2485 commit c757262

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Diff for: .github/workflows/array-api-tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
python -m pip install --upgrade pip
6464
python -m pip install '${{ inputs.package-name }} ${{ inputs.package-version }}' ${{ inputs.extra-requires }}
6565
python -m pip install -r ${GITHUB_WORKSPACE}/array-api-tests/requirements.txt
66+
python -m pip install hypothesis==6.97.1
6667
- name: Run the array API testsuite (${{ inputs.package-name }})
6768
if: "! ((matrix.python-version == '3.11' && inputs.package-name == 'numpy' && contains(inputs.package-version, '1.21')) || (matrix.python-version == '3.8' && inputs.package-name == 'numpy' && contains(inputs.xfails-file-extra, 'dev')))"
6869
env:

Diff for: numpy-1-21-xfails.txt

+7
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ array_api_tests/test_signatures.py::test_array_method_signature[__dlpack_device_
8080
# qr() doesn't support matrix stacks
8181
array_api_tests/test_linalg.py::test_qr
8282

83+
# cross has some promotion bug that is fixed in newer numpy versions
84+
array_api_tests/test_linalg.py::test_cross
85+
86+
# vector_norm with ord=-1 which has since been fixed
87+
# https://github.com/numpy/numpy/issues/21083
88+
array_api_tests/test_linalg.py::test_vector_norm
89+
8390
# argmax and argmin do not support keepdims
8491
array_api_tests/test_searching_functions.py::test_argmax
8592
array_api_tests/test_searching_functions.py::test_argmin

0 commit comments

Comments
 (0)