From 1299262dbc9a25a1a0c8537d46054680b3a25b51 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 5 May 2026 10:52:22 -0700 Subject: [PATCH 1/6] 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 31b0f3f40250b5dc9fb4f694f357cdbbb9421a4b Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 5 May 2026 10:54:19 -0700 Subject: [PATCH 2/6] 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 67cd0acc73f023522732458bb501aef5ec416da1 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 5 May 2026 10:55:11 -0700 Subject: [PATCH 3/6] 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 9ffb285cdb2b..9bcdf906b9cf 100644 --- a/dpnp/tests/test_ndarray.py +++ b/dpnp/tests/test_ndarray.py @@ -403,20 +403,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 4ca0b8b99d14c4c30322a51f4821c3571fdda122 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 5 May 2026 10:56:06 -0700 Subject: [PATCH 4/6] 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 2d5a824c3a50..6907bbce76df 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -769,7 +769,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 }} From 0bf2e7c591f6dfa69dcdfcaba42e0249c439f1b1 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 29 Jun 2026 12:42:05 +0200 Subject: [PATCH 5/6] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 27c8329caa19..8ab25024b5a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ This release is compatible with NumPy 2.5. * Clarified the summary in `dpnp.reshape` and `dpnp.ndarray.reshape` docstrings [#2964](https://github.com/IntelPython/dpnp/pull/2964) * Changed `dpnp.atleast_1d`, `dpnp.atleast_2d`, `dpnp.atleast_3d`, and `dpnp.ogrid` to return a tuple of arrays instead of a list [#2965](https://github.com/IntelPython/dpnp/pull/2965) * Improved performance of `dpnp.fft` functions for complex strided input by avoiding oversized allocations and extra copies [#2939](https://github.com/IntelPython/dpnp/pull/2939) +* Updated Python Array API specification version supported to `2025.12` [#2899](https://github.com/IntelPython/dpnp/pull/2899) ### Deprecated From 39c6331944b56744f6c83d20317196bc600db5cd Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 29 Jun 2026 16:37:14 +0200 Subject: [PATCH 6/6] State compatibility with Python Array API 2025.12 in summary of the next release --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ab25024b5a0..ebdd5046eb0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.21.0] - 2026-MM-DD +This release achieves 100% compliance with Python Array API specification (revision [2025.12](https://data-apis.org/array-api/2025.12/)). This release is compatible with NumPy 2.5. ### Added