diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e4a741cc3f5..8aa098af70cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,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 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)