From b8ee7d05cbc2858a0910b070b83362358d0cf96a Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 6 Oct 2025 15:06:56 +0200 Subject: [PATCH 1/3] Pined to the lates dpctl release 0.21.0 --- conda-recipe/meta.yaml | 2 +- environments/dpctl_pkg.txt | 2 +- environments/dpctl_pkg.yml | 2 +- pyproject.toml | 5 ++--- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 6c5099ab8bef..af96e710de41 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -1,6 +1,6 @@ {% set max_compiler_and_mkl_version = environ.get("MAX_BUILD_CMPL_MKL_VERSION", "2026.0a0") %} {% set required_compiler_and_mkl_version = "2025.0" %} -{% set required_dpctl_version = "0.21.0*" %} +{% set required_dpctl_version = "0.21.0" %} {% set pyproject = load_file_data('pyproject.toml') %} {% set py_build_deps = pyproject.get('build-system', {}).get('requires', []) %} diff --git a/environments/dpctl_pkg.txt b/environments/dpctl_pkg.txt index 29fdceb21e82..08a466236a0c 100644 --- a/environments/dpctl_pkg.txt +++ b/environments/dpctl_pkg.txt @@ -1,2 +1,2 @@ --index-url https://pypi.anaconda.org/dppy/label/dev/simple -dpctl>=0.21.0dev0 +dpctl>=0.21.0 diff --git a/environments/dpctl_pkg.yml b/environments/dpctl_pkg.yml index 6cea30d0e65a..ed4f4e397407 100644 --- a/environments/dpctl_pkg.yml +++ b/environments/dpctl_pkg.yml @@ -2,4 +2,4 @@ name: Install dpctl package channels: - dppy/label/dev dependencies: - - dpctl>=0.21.0dev0 + - dpctl>=0.21.0 diff --git a/pyproject.toml b/pyproject.toml index 5dc181411164..8346520f9f55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,8 +5,7 @@ requires = [ "build>=1.2.2", "cmake>=3.31.6", "cython>=3.0.12", - # WARNING: use only dpctl version available on PyPi - "dpctl>=0.19.0", + "dpctl>=0.21.0", "ninja>=1.11.1; platform_system!='Windows'", # NOTE: no DPNP restriction on NumPy version, so follow NumPy's drop schedule "numpy>=1.25.0", @@ -50,7 +49,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.21.0dev0", + "dpctl>=0.21.0", "numpy>=1.25.0" ] description = "Data Parallel Extension for NumPy" From 6723584c72b93780337fb062adadf65b68e11ed7 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 6 Oct 2025 15:07:13 +0200 Subject: [PATCH 2/3] Update release date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9efb9fba777d..fa60d94bdfe9 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.19.0] - 2025-MM-DD +## [0.19.0] - 2025-10-06 This release introduces a set of new `dpnp.ndarray` methods and SciPy-compatible functions to improve CuPy compatibility. It also enhances the performance of existing functions and improves documentation completeness. From c5b6f5687dd884d8096fd32d41c0d21b42f6be11 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 6 Oct 2025 15:17:08 +0200 Subject: [PATCH 3/3] Bump min supported NumPy version to 1.26 --- conda-recipe/conda_build_config.yaml | 2 +- dpnp/tests/test_arraycreation.py | 5 +---- pyproject.toml | 4 ++-- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/conda-recipe/conda_build_config.yaml b/conda-recipe/conda_build_config.yaml index c8b8c8d0c1e8..c5df1a7f2e29 100644 --- a/conda-recipe/conda_build_config.yaml +++ b/conda-recipe/conda_build_config.yaml @@ -1,5 +1,5 @@ numpy: - - '1.25' + - '1.26' c_compiler: # [linux] - gcc # [linux] cxx_compiler: # [linux] diff --git a/dpnp/tests/test_arraycreation.py b/dpnp/tests/test_arraycreation.py index 8e4553dcbe4e..28d51e8e6d31 100644 --- a/dpnp/tests/test_arraycreation.py +++ b/dpnp/tests/test_arraycreation.py @@ -938,12 +938,9 @@ def test_logspace(dtype, num, endpoint): assert_allclose(dpnp_res, np_res, rtol=1e-06) +@testing.with_requires("numpy>=1.25.0") @pytest.mark.parametrize("axis", [0, 1]) def test_logspace_axis(axis): - if numpy.lib.NumpyVersion(numpy.__version__) < "1.25.0": - pytest.skip( - "numpy.logspace supports a non-scalar base argument since 1.25.0" - ) func = lambda xp: xp.logspace( [2, 3], [20, 15], num=2, base=[[1, 3], [5, 7]], axis=axis ) diff --git a/pyproject.toml b/pyproject.toml index 8346520f9f55..5d92878f9067 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ requires = [ "dpctl>=0.21.0", "ninja>=1.11.1; platform_system!='Windows'", # NOTE: no DPNP restriction on NumPy version, so follow NumPy's drop schedule - "numpy>=1.25.0", + "numpy>=1.26.0", "scikit-build>=0.18.1", "setuptools>=79.0.1", "wheel>=0.45.1", @@ -50,7 +50,7 @@ dependencies = [ # "intel-cmplr-lib-rt>=0.59.0" # WARNING: use the latest dpctl dev version, otherwise stable w/f will fail "dpctl>=0.21.0", - "numpy>=1.25.0" + "numpy>=1.26.0" ] description = "Data Parallel Extension for NumPy" dynamic = ["version"]