From 3bdc753e6550d5ce02b77ec151d23b37781afc2b Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 23 Apr 2026 11:57:40 +0200 Subject: [PATCH 1/4] Populate the changelog --- CHANGELOG.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdcf246a2c9..d6239fd9c1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,22 @@ 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.20.0] - MM/DD/2026 +## [0.21.0] - MM/DD/2026 + +### Added + +### Changed + +### Deprecated + +### Removed + +### Fixed + +### Security + + +## [0.20.0] - 2026-04-22 This release introduces a major architectural change: the Array API-compliant tensor implementation has been migrated from `dpctl.tensor` into `dpnp.tensor`, simplifying maintenance, reducing cross-project dependencies, and allows the tensor implementation to evolve within `dpnp`. This release changes the license from `BSD-2-Clause` to `BSD-3-Clause`. @@ -28,7 +43,7 @@ Also, that release drops support for Python 3.9, making Python 3.10 the minimum * Added implementation of `dpnp.divmod` [#2674](https://github.com/IntelPython/dpnp/pull/2674) * Added implementation of `dpnp.isin` function [#2595](https://github.com/IntelPython/dpnp/pull/2595) * Added implementation of `dpnp.scipy.linalg.lu` (SciPy-compatible) [#2787](https://github.com/IntelPython/dpnp/pull/2787) -* Added support for ndarray subclassing via `dpnp.ndarray.view` method with `type` parameter [#2815](https://github.com/IntelPython/dpnp/issues/2815) +* Added support for ndarray subclassing via `dpnp.ndarray.view` method with `type` parameter [#2815](https://github.com/IntelPython/dpnp/pull/2815) * Migrated tensor implementation from `dpctl.tensor` into `dpnp.tensor`, making `dpnp` the primary owner of the Array API-compliant tensor layer [#2856](https://github.com/IntelPython/dpnp/pull/2856) ### Changed @@ -93,8 +108,6 @@ Also, that release drops support for Python 3.9, making Python 3.10 the minimum * Resolved a deadlock in `dpnp.linalg.qr` by releasing the GIL before OneMKL `orgqr` call to prevent host tasks contention [#2850](https://github.com/IntelPython/dpnp/pull/2850) * Fixed `dpnp.linalg.matrix_rank` to properly handle an empty input array [#2853](https://github.com/IntelPython/dpnp/pull/2853) -### Security - ## [0.19.1] - 2025-11-27 From fe61b28fe81941052d84d72b63e2cebf4f55f04b Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 23 Apr 2026 11:58:22 +0200 Subject: [PATCH 2/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 cd01d5b3f0f..12de8bca3c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ cmake_minimum_required(VERSION 3.21...3.27 FATAL_ERROR) project( dpnp - VERSION 0.20 + VERSION 0.21 LANGUAGES CXX DESCRIPTION "NumPy-like API accelerated by SYCL." ) From fa44bf84ad598b6a135c37148524848df099d895 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 23 Apr 2026 12:00:21 +0200 Subject: [PATCH 3/4] Drop dependency on dpctl version from the tests --- .../third_party/cupy/core_tests/test_ndarray_elementwise_op.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/dpnp/tests/third_party/cupy/core_tests/test_ndarray_elementwise_op.py b/dpnp/tests/third_party/cupy/core_tests/test_ndarray_elementwise_op.py index 881bb9979cc..4aeae669d8d 100644 --- a/dpnp/tests/third_party/cupy/core_tests/test_ndarray_elementwise_op.py +++ b/dpnp/tests/third_party/cupy/core_tests/test_ndarray_elementwise_op.py @@ -625,11 +625,9 @@ def check_array_boolarray_op(self, op, xp, x_type): b = xp.array([[3, 1, 4], [-1, -5, -9]], numpy.int8).view(bool) return op(a, b) - @testing.with_requires("dpctl>=0.22.0dev0") def test_add_array_boolarray(self): self.check_array_boolarray_op(operator.add) - @testing.with_requires("dpctl>=0.22.0dev0") def test_iadd_array_boolarray(self): self.check_array_boolarray_op(operator.iadd) From 186201d46035e267310fa178853c8d9ad5d15eea Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 23 Apr 2026 14:45:16 +0200 Subject: [PATCH 4/4] Ensure the testing dpnp package is not replaced with older version while installing OCL RT package --- .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 afd34ee0054..77e8c61ff35 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -377,7 +377,7 @@ jobs: MAMBA_NO_LOW_SPEED_LIMIT: 1 - name: Install OCL CPU RT from Intel channel - run: mamba install intel-opencl-rt=*=intel_* ${{ env.channels-list }} + run: mamba install ${{ env.package-name }}=${{ env.PACKAGE_VERSION }} intel-opencl-rt=*=intel_* ${{ env.channels-list }} - name: List installed packages run: mamba list