From d4d5771e17c14ce8cdeaf2922d537006dd3fcebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Fri, 20 May 2022 18:34:06 -0700 Subject: MAINT: Python <3.8 related cleanups --- doc/source/f2py/code/CMakeLists.txt | 4 ++-- doc/source/f2py/code/CMakeLists_skbuild.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/source/f2py/code') diff --git a/doc/source/f2py/code/CMakeLists.txt b/doc/source/f2py/code/CMakeLists.txt index d16ddf77e..6f5170ad5 100644 --- a/doc/source/f2py/code/CMakeLists.txt +++ b/doc/source/f2py/code/CMakeLists.txt @@ -14,8 +14,8 @@ if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR) ) endif() -# Grab Python, 3.7 or newer -find_package(Python 3.7 REQUIRED +# Grab Python, 3.8 or newer +find_package(Python 3.8 REQUIRED COMPONENTS Interpreter Development.Module NumPy) # Grab the variables from a local Python installation diff --git a/doc/source/f2py/code/CMakeLists_skbuild.txt b/doc/source/f2py/code/CMakeLists_skbuild.txt index 3d092760b..f2d6b69c1 100644 --- a/doc/source/f2py/code/CMakeLists_skbuild.txt +++ b/doc/source/f2py/code/CMakeLists_skbuild.txt @@ -17,7 +17,7 @@ endif() # Ensure scikit-build modules if (NOT SKBUILD) - find_package(PythonInterp 3.7 REQUIRED) + find_package(PythonInterp 3.8 REQUIRED) # Kanged --> https://github.com/Kitware/torch_liberator/blob/master/CMakeLists.txt # If skbuild is not the driver; include its utilities in CMAKE_MODULE_PATH execute_process( -- cgit v1.2.1