diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 3d9a994ead4..4834bda6dfa 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 }} diff --git a/doc/reference/array_api.rst b/doc/reference/array_api.rst index 4912a18ba0d..19d2a62c78b 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 diff --git a/dpnp/tensor/_array_api.py b/dpnp/tensor/_array_api.py index a18bc2be182..8b44e4b52ee 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: diff --git a/dpnp/tests/test_ndarray.py b/dpnp/tests/test_ndarray.py index 5a848c9660f..6173eba5b5d 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, )