Skip to content

Temporarily pin hypothesis on CI #99

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/array-api-tests.yml
Original file line number Diff line number Diff line change
@@ -63,6 +63,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install '${{ inputs.package-name }} ${{ inputs.package-version }}' ${{ inputs.extra-requires }}
python -m pip install -r ${GITHUB_WORKSPACE}/array-api-tests/requirements.txt
python -m pip install hypothesis==6.97.1
- name: Run the array API testsuite (${{ inputs.package-name }})
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')))"
env:
7 changes: 7 additions & 0 deletions numpy-1-21-xfails.txt
Original file line number Diff line number Diff line change
@@ -80,6 +80,13 @@ array_api_tests/test_signatures.py::test_array_method_signature[__dlpack_device_
# qr() doesn't support matrix stacks
array_api_tests/test_linalg.py::test_qr

# cross has some promotion bug that is fixed in newer numpy versions
array_api_tests/test_linalg.py::test_cross

# vector_norm with ord=-1 which has since been fixed
# https://github.com/numpy/numpy/issues/21083
array_api_tests/test_linalg.py::test_vector_norm

# argmax and argmin do not support keepdims
array_api_tests/test_searching_functions.py::test_argmax
array_api_tests/test_searching_functions.py::test_argmin