From 5357eb7a0fb7982c5df4aafa28e4a30b4487f936 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 5 May 2026 10:52:22 -0700 Subject: [PATCH 1/4] Set Python array API version to 2025.12 --- dpnp/tensor/_array_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpnp/tensor/_array_api.py b/dpnp/tensor/_array_api.py index a18bc2be1824..8b44e4b52eef 100644 --- a/dpnp/tensor/_array_api.py +++ b/dpnp/tensor/_array_api.py @@ -77,7 +77,7 @@ def _get_device_impl(d): raise TypeError(f"Unsupported type for device argument: {type(d)}") -__array_api_version__ = "2024.12" +__array_api_version__ = "2025.12" class Info: From 1277353ab22e7f50afe0b7bb4dc77ea67bc738dc Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 5 May 2026 10:54:19 -0700 Subject: [PATCH 2/4] Update reference link to Python array API spec --- doc/reference/array_api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/reference/array_api.rst b/doc/reference/array_api.rst index 4912a18ba0d2..19d2a62c78b1 100644 --- a/doc/reference/array_api.rst +++ b/doc/reference/array_api.rst @@ -10,7 +10,7 @@ Array API standard compatibility DPNP's main namespace as well as the :mod:`dpnp.fft` and :mod:`dpnp.linalg` namespaces are compatible with the -`2024.12 version `__ +`2025.12 version `__ of the Python array API standard. Inspection From d011e9d0720a5f0cd31319b15b03900847016152 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 5 May 2026 10:55:11 -0700 Subject: [PATCH 3/4] Update tests --- dpnp/tests/test_ndarray.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dpnp/tests/test_ndarray.py b/dpnp/tests/test_ndarray.py index 5a848c9660fc..6173eba5b5dd 100644 --- a/dpnp/tests/test_ndarray.py +++ b/dpnp/tests/test_ndarray.py @@ -396,20 +396,20 @@ def test_basic(self): xp = a.__array_namespace__() assert xp is dpnp - @pytest.mark.parametrize("api_version", [None, "2024.12"]) + @pytest.mark.parametrize("api_version", [None, "2025.12"]) def test_api_version(self, api_version): a = dpnp.arange(2) xp = a.__array_namespace__(api_version=api_version) assert xp is dpnp @pytest.mark.parametrize( - "api_version", ["2021.12", "2022.12", "2023.12", "2025.12"] + "api_version", ["2021.12", "2022.12", "2023.12", "2024.12", "2026.12"] ) def test_unsupported_api_version(self, api_version): a = dpnp.arange(2) assert_raises_regex( ValueError, - "Only 2024.12 is supported", + "Only 2025.12 is supported", a.__array_namespace__, api_version=api_version, ) From 05d0904c3e3e50a645e5c698c028c5b8d1d1c156 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 5 May 2026 10:56:06 -0700 Subject: [PATCH 4/4] Bump version in conformance tests --- .github/workflows/conda-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 3d9a994ead4b..4834bda6dfa8 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -666,7 +666,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' + ARRAY_API_TESTS_VERSION: '2025.12' SYCL_CACHE_PERSISTENT: 1 working-directory: ${{ env.array-api-tests-path }}