From e11847fe023ea52285722fdfb503847860ee2d5d Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 23 Oct 2025 14:02:15 +0200 Subject: [PATCH 1/2] Add explicit version range --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f40ed7bf684..2c0b33fee4f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,7 +79,7 @@ endif() include(GNUInstallDirs) # find Python before enabling pybind11 -find_package(Python REQUIRED COMPONENTS Development.Module NumPy) +find_package(Python 3.10...<3.15 REQUIRED COMPONENTS Development.Module NumPy) # Fetch pybind11 include(FetchContent) From 47794ff714aaaba53560709e764943dd4c056fa1 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 23 Oct 2025 14:09:36 +0200 Subject: [PATCH 2/2] Add PR to the changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 15f1840317a8..5c9c7b1335de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ The release drops support for Python 3.9, making Python 3.10 the minimum require * Silenced `pybind11` CMake message due to using compatibility mode for Python [#2614](https://github.com/IntelPython/dpnp/pull/2614) * Changed the license from `BSD-2-Clause` to `BSD-3-Clause` [#2593](https://github.com/IntelPython/dpnp/pull/2593) +* Defined explicit versions range of the Python interpreter which is needed during the build [#2634](https://github.com/IntelPython/dpnp/pull/2634) ### Deprecated