Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe-cf/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set required_compiler_and_mkl_version = "2026.0.0" %}
{% set required_dpctl_version = "0.22.1" %}
{% set required_dpctl_version = "0.23.0" %}

package:
name: dpnp
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% set max_compiler_and_mkl_version = environ.get("MAX_BUILD_CMPL_MKL_VERSION", "2027.0a0") %}
{% set required_compiler_version = environ.get("MIN_BUILD_CMPL_VERSION", "2026.1.1") %}
{% set required_mkl_version = "2026.0" %}
{% set required_dpctl_version = "0.23.0dev0" %}
{% set required_dpctl_version = "0.23.0" %}

{# DPNP does not support a compiler older than 2026.0, so reject any #}
{# MIN_BUILD_CMPL_VERSION override below that by calling an undefined macro. #}
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe/rattler_recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ context:
max_compiler_and_mkl_version: ${{ env.get("MAX_BUILD_CMPL_MKL_VERSION", default="2027.0a0") }}
required_compiler_version: ${{ env.get("MIN_BUILD_CMPL_VERSION", default="2026.1.1") }}
required_mkl_version: "2026.0"
required_dpctl_version: 0.23.0dev0
required_dpctl_version: 0.23.0

package:
name: dpnp
Expand Down
2 changes: 0 additions & 2 deletions dpnp/tests/tensor/test_tensor_array_api_inspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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()
Expand Down
3 changes: 0 additions & 3 deletions dpnp/tests/tensor/test_usm_ndarray_dlpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions dpnp/tests/test_array_api_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion environments/dpctl_pkg.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--index-url https://pypi.anaconda.org/dppy/label/dev/simple
dpctl>=0.23.0dev0
dpctl>=0.23.0
2 changes: 1 addition & 1 deletion environments/dpctl_pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ name: Install dpctl package
channels:
- dppy/label/dev
dependencies:
- dpctl>=0.23.0dev0
- dpctl>=0.23.0
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires = [
"cmake>=3.31.6",
"cython>=3.1.0",
# WARNING: use only dpctl version available on PyPi
"dpctl>=0.20.0",
"dpctl>=0.23.0",
"ninja>=1.11.1; platform_system!='Windows'",
# NOTE: no DPNP restriction on NumPy version, so follow NumPy's drop schedule
"numpy>=1.26.0",
Expand Down Expand Up @@ -52,7 +52,7 @@ dependencies = [
# "dpcpp-cpp-rt>=0.59.0",
# "intel-cmplr-lib-rt>=0.59.0"
# WARNING: use the latest dpctl dev version, otherwise stable w/f will fail
"dpctl>=0.23.0dev0",
"dpctl>=0.23.0",
"numpy>=1.26.0"
]
description = "Data Parallel Extension for NumPy"
Expand Down
Loading