From 1622d6bdf542a8b527b277e839554087050b61b3 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 27 Feb 2025 19:47:43 +0100 Subject: [PATCH 1/3] Add a way to specify the API version to use when testing --- .github/workflows/conda-package.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 9ef47c885612..287446fad966 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -623,6 +623,7 @@ jobs: 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 env: ARRAY_API_TESTS_MODULE: 'dpnp' + ARRAY_API_TESTS_VERSION: '2024.12' SYCL_CACHE_PERSISTENT: 1 working-directory: ${{ env.array-api-tests-path }} From b94a5d7ac64f247cf02a08ccb33f91f039b6a4b4 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Wed, 26 Mar 2025 10:32:19 +0100 Subject: [PATCH 2/3] Disable tests for advanced indexing --- .github/workflows/array-api-skips.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/array-api-skips.txt b/.github/workflows/array-api-skips.txt index 4ad6df22b259..d305b456b685 100644 --- a/.github/workflows/array-api-skips.txt +++ b/.github/workflows/array-api-skips.txt @@ -6,3 +6,8 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_clip # unexpected result is returned - unmute when dpctl-1986 is resolved array_api_tests/test_operators_and_elementwise_functions.py::test_asin array_api_tests/test_operators_and_elementwise_functions.py::test_asinh + +# advanced indexing relating issues (waiting a fix from dpctl) +array_api_tests/test_array_object.py::test_getitem_arrays_and_ints_1[1] +array_api_tests/test_array_object.py::test_getitem_arrays_and_ints_1[None] +array_api_tests/test_array_object.py::test_getitem_arrays_and_ints_2[None] From f9be79fa561524c741d03d9e68f0bbd6cd430390 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Wed, 26 Mar 2025 11:19:16 +0100 Subject: [PATCH 3/3] Mute one more test from advanced indexing --- .github/workflows/array-api-skips.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/array-api-skips.txt b/.github/workflows/array-api-skips.txt index d305b456b685..ec7f44e05be3 100644 --- a/.github/workflows/array-api-skips.txt +++ b/.github/workflows/array-api-skips.txt @@ -10,4 +10,5 @@ array_api_tests/test_operators_and_elementwise_functions.py::test_asinh # advanced indexing relating issues (waiting a fix from dpctl) array_api_tests/test_array_object.py::test_getitem_arrays_and_ints_1[1] array_api_tests/test_array_object.py::test_getitem_arrays_and_ints_1[None] +array_api_tests/test_array_object.py::test_getitem_arrays_and_ints_2[1] array_api_tests/test_array_object.py::test_getitem_arrays_and_ints_2[None]