1
0
mirror of https://github.com/ROCm/jax.git synced 2025-04-19 05:16:06 +00:00

Update array-api-tests to most recent commit

This commit is contained in:
Jake VanderPlas 2023-11-27 13:10:06 -08:00
parent 6fa506cb4a
commit 053e2cff11
2 changed files with 8 additions and 6 deletions

@ -24,13 +24,9 @@ jobs:
uses: actions/checkout@v3
with:
repository: data-apis/array-api-tests
ref: '9d7777bc60d45a35124b0de084ff8edbd284c06b' # Latest commit as of 2023-11-17
ref: 'd264bad87c9448d22809aa84796b136dc75b0f81' # Latest commit as of 2023-11-27
submodules: 'true'
path: 'array-api-tests'
- name: Fix array-apis bug
# Temporary workaround for https://github.com/data-apis/array-api/issues/631
run: |
sed -i -e 's/\\/\\\\/g' array-api-tests/array-api/spec/API_specification/signatures/*.py
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # ratchet:actions/setup-python@v4
with:

@ -57,7 +57,6 @@ markers = [
]
filterwarnings = [
"error",
"ignore:The numpy.array_api submodule is still experimental.:UserWarning",
"ignore:The hookimpl.*:DeprecationWarning",
"ignore:No GPU/TPU found, falling back to CPU.:UserWarning",
"ignore:xmap is an experimental feature and probably has bugs!",
@ -77,6 +76,13 @@ filterwarnings = [
"ignore:np.find_common_type is deprecated.*:DeprecationWarning",
"ignore:jax.numpy.in1d is deprecated.*:DeprecationWarning",
"ignore:jax.numpy.trapz is deprecated.*:DeprecationWarning",
# TODO(jakevdp): remove when array_api_tests stabilize
# start array_api_tests-related warnings
"ignore:The numpy.array_api submodule is still experimental.*:UserWarning",
"ignore:case not machine-readable.*:UserWarning",
"ignore:not machine-readable.*:UserWarning",
"ignore:Special cases found for .* but none were parsed.*:UserWarning",
# end array_api_tests-related warnings
]
doctest_optionflags = [
"NUMBER",