Skip to content

Commit c9f8c3d

Browse files
authored
Pin to the lates dpctl release (#2609)
The PR pins to the lates dpctl release version `0.20.0`. Also it sets the release to today and bumps minimum supported NumPy version to 1.26 base on [NEP-0029](https://numpy.org/neps/nep-0029-deprecation_policy.html).
1 parent e5cd6cf commit c9f8c3d

File tree

7 files changed

+10
-14
lines changed

7 files changed

+10
-14
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [0.19.0] - 2025-MM-DD
7+
## [0.19.0] - 2025-10-06
88

99
This release introduces a set of new `dpnp.ndarray` methods and SciPy-compatible functions to improve CuPy compatibility.
1010
It also enhances the performance of existing functions and improves documentation completeness.

conda-recipe/conda_build_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
numpy:
2-
- '1.25'
2+
- '1.26'
33
c_compiler: # [linux]
44
- gcc # [linux]
55
cxx_compiler: # [linux]

conda-recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% set max_compiler_and_mkl_version = environ.get("MAX_BUILD_CMPL_MKL_VERSION", "2026.0a0") %}
22
{% set required_compiler_and_mkl_version = "2025.0" %}
3-
{% set required_dpctl_version = "0.21.0*" %}
3+
{% set required_dpctl_version = "0.21.0" %}
44

55
{% set pyproject = load_file_data('pyproject.toml') %}
66
{% set py_build_deps = pyproject.get('build-system', {}).get('requires', []) %}

dpnp/tests/test_arraycreation.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -938,12 +938,9 @@ def test_logspace(dtype, num, endpoint):
938938
assert_allclose(dpnp_res, np_res, rtol=1e-06)
939939

940940

941+
@testing.with_requires("numpy>=1.25.0")
941942
@pytest.mark.parametrize("axis", [0, 1])
942943
def test_logspace_axis(axis):
943-
if numpy.lib.NumpyVersion(numpy.__version__) < "1.25.0":
944-
pytest.skip(
945-
"numpy.logspace supports a non-scalar base argument since 1.25.0"
946-
)
947944
func = lambda xp: xp.logspace(
948945
[2, 3], [20, 15], num=2, base=[[1, 3], [5, 7]], axis=axis
949946
)

environments/dpctl_pkg.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
--index-url https://pypi.anaconda.org/dppy/label/dev/simple
2-
dpctl>=0.21.0dev0
2+
dpctl>=0.21.0

environments/dpctl_pkg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ name: Install dpctl package
22
channels:
33
- dppy/label/dev
44
dependencies:
5-
- dpctl>=0.21.0dev0
5+
- dpctl>=0.21.0

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ requires = [
55
"build>=1.2.2",
66
"cmake>=3.31.6",
77
"cython>=3.0.12",
8-
# WARNING: use only dpctl version available on PyPi
9-
"dpctl>=0.19.0",
8+
"dpctl>=0.21.0",
109
"ninja>=1.11.1; platform_system!='Windows'",
1110
# NOTE: no DPNP restriction on NumPy version, so follow NumPy's drop schedule
12-
"numpy>=1.25.0",
11+
"numpy>=1.26.0",
1312
"scikit-build>=0.18.1",
1413
"setuptools>=79.0.1",
1514
"wheel>=0.45.1",
@@ -50,8 +49,8 @@ dependencies = [
5049
# "dpcpp-cpp-rt>=0.59.0",
5150
# "intel-cmplr-lib-rt>=0.59.0"
5251
# WARNING: use the latest dpctl dev version, otherwise stable w/f will fail
53-
"dpctl>=0.21.0dev0",
54-
"numpy>=1.25.0"
52+
"dpctl>=0.21.0",
53+
"numpy>=1.26.0"
5554
]
5655
description = "Data Parallel Extension for NumPy"
5756
dynamic = ["version"]

0 commit comments

Comments
 (0)