Skip to content

Commit d5617de

Browse files
authored
Explicit set of the API version used in conformance testing (#2350)
This PR proposes to define the API version used during testing explicitly (and to set it to `2024.12`). The tests relating to advanced indexing are failing now due to known limitation in dpctl, so it is proposed to temporary disable them with a proper comment.
1 parent e0b7932 commit d5617de

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/array-api-skips.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_clip
66
# unexpected result is returned - unmute when dpctl-1986 is resolved
77
array_api_tests/test_operators_and_elementwise_functions.py::test_asin
88
array_api_tests/test_operators_and_elementwise_functions.py::test_asinh
9+
10+
# advanced indexing relating issues (waiting a fix from dpctl)
11+
array_api_tests/test_array_object.py::test_getitem_arrays_and_ints_1[1]
12+
array_api_tests/test_array_object.py::test_getitem_arrays_and_ints_1[None]
13+
array_api_tests/test_array_object.py::test_getitem_arrays_and_ints_2[1]
14+
array_api_tests/test_array_object.py::test_getitem_arrays_and_ints_2[None]

.github/workflows/conda-package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ jobs:
625625
python -m pytest --json-report --json-report-file=${{ env.json-report-file }} --disable-deadline --skips-file ${{ env.array-api-skips-file }} array_api_tests || true
626626
env:
627627
ARRAY_API_TESTS_MODULE: 'dpnp'
628+
ARRAY_API_TESTS_VERSION: '2024.12'
628629
SYCL_CACHE_PERSISTENT: 1
629630
working-directory: ${{ env.array-api-tests-path }}
630631

0 commit comments

Comments
 (0)