From 5be322d6bd812d55c47ebfffacda5ba8597c9039 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 27 Oct 2026 15:57:21 +0100 Subject: [PATCH 1/4] Set the `0.21.0` release date in the CHANGELOG Backport the release date from `maintenance/0.21.x`. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfeee46b484..ab5a95427aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.21.0] - 2026-MM-DD +## [0.21.0] - 2026-10-27 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.4. From f0df0d88bdfcf5e2bc2b605111b904a9021bee02 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 27 Oct 2026 15:57:36 +0100 Subject: [PATCH 2/4] Populate the changelog for `0.22.0` --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab5a95427aa..bd3ab430c9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,21 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.22.0] - YYYY-MM-DD + +### Added + +### Changed + +### Deprecated + +### Removed + +### Fixed + +### Security + + ## [0.21.0] - 2026-10-27 This release achieves 100% compliance with Python Array API specification (revision [2025.12](https://data-apis.org/array-api/2025.12/)). From c40af060ceda148bc89200c0c88a440807940b96 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 27 Oct 2026 15:57:45 +0100 Subject: [PATCH 3/4] Bump dpnp version in CMake file --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b0d46b97545..252698dc1fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ cmake_minimum_required(VERSION 3.27 FATAL_ERROR) project( dpnp - VERSION 0.21 + VERSION 0.22 LANGUAGES CXX DESCRIPTION "NumPy-like API accelerated by SYCL." ) From e9e094a556f8a1117ca832d464fa5cc393a76ca7 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 27 Oct 2026 15:57:54 +0100 Subject: [PATCH 4/4] Drop the `dpctl>=0.23.0dev0` requirement from the tests The markers are always satisfied, since `dpctl` 0.23.0 is the minimum required version. --- dpnp/tests/tensor/test_tensor_array_api_inspection.py | 2 -- dpnp/tests/tensor/test_usm_ndarray_dlpack.py | 3 --- dpnp/tests/test_array_api_info.py | 2 -- 3 files changed, 7 deletions(-) diff --git a/dpnp/tests/tensor/test_tensor_array_api_inspection.py b/dpnp/tests/tensor/test_tensor_array_api_inspection.py index 8608878d932..a04bccaf5db 100644 --- a/dpnp/tests/tensor/test_tensor_array_api_inspection.py +++ b/dpnp/tests/tensor/test_tensor_array_api_inspection.py @@ -36,7 +36,6 @@ default_device_index_type, default_device_int_type, ) -from dpnp.tests.third_party.cupy.testing import with_requires _dtypes_no_fp16_fp64 = { "bool": dpt.bool, @@ -73,7 +72,6 @@ def test_array_api_inspection_default_device(): assert dpt.__array_namespace_info__().default_device().sycl_device == dev -@with_requires("dpctl>=0.23.0dev0") def test_array_api_inspection_devices(): try: devices2 = dpctl.get_devices() diff --git a/dpnp/tests/tensor/test_usm_ndarray_dlpack.py b/dpnp/tests/tensor/test_usm_ndarray_dlpack.py index f9c3f811a55..7d374199562 100644 --- a/dpnp/tests/tensor/test_usm_ndarray_dlpack.py +++ b/dpnp/tests/tensor/test_usm_ndarray_dlpack.py @@ -36,7 +36,6 @@ import dpnp.tensor as dpt import dpnp.tensor._dlpack as _dlp import dpnp.tensor._usmarray as dpt_arr -from dpnp.tests.third_party.cupy.testing import with_requires from .helper import ( get_queue_or_skip, @@ -233,7 +232,6 @@ def test_from_dlpack_fortran_contig_array_roundtripping(): assert dpt.all(dpt.equal(ar2d_c, ar2d_r)) -@with_requires("dpctl>=0.23.0dev0") def test_dlpack_from_subdevice(): """ This test checks that array allocated on a sub-device, @@ -586,7 +584,6 @@ def test_from_dlpack_to_kdlcpu_strides(mod, typestr): assert V.strides == W.strides -@with_requires("dpctl>=0.23.0dev0") def test_dlpack_from_subdevice_to_kdlcpu(): """ Check that array allocated on a sub-device can be diff --git a/dpnp/tests/test_array_api_info.py b/dpnp/tests/test_array_api_info.py index 65a272038f4..60f81c0eddd 100644 --- a/dpnp/tests/test_array_api_info.py +++ b/dpnp/tests/test_array_api_info.py @@ -9,7 +9,6 @@ is_win_platform, numpy_version, ) -from dpnp.tests.third_party.cupy.testing import with_requires info = dpnp.__array_namespace_info__() default_device = select_default_device() @@ -130,7 +129,6 @@ def test_dtypes_invalid_device(): info.dtypes(device="str") -@with_requires("dpctl>=0.23.0dev0") def test_devices(): devices = info.devices() assert isinstance(devices, tuple)