From 8131a636fbd07d92d15ce9cfed72d2922473db12 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 4 Jan 2024 02:50:05 +0100 Subject: [PATCH] Build: bump supported Python version to 3.11 on macOS Now that the precompiled libraries have been updated. --- build_files/cmake/Modules/FindPythonLibsUnix.cmake | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/build_files/cmake/Modules/FindPythonLibsUnix.cmake b/build_files/cmake/Modules/FindPythonLibsUnix.cmake index 83158901055..911cb24cd32 100644 --- a/build_files/cmake/Modules/FindPythonLibsUnix.cmake +++ b/build_files/cmake/Modules/FindPythonLibsUnix.cmake @@ -36,12 +36,7 @@ else() set(PYTHON_ROOT_DIR "") endif() -# Temporary, keep until Python 3.11 libraries are committed for macOS. -if(APPLE) - set(_PYTHON_VERSION_SUPPORTED 3.10) -else() - set(_PYTHON_VERSION_SUPPORTED 3.11) -endif() +set(_PYTHON_VERSION_SUPPORTED 3.11) set(PYTHON_VERSION ${_PYTHON_VERSION_SUPPORTED} CACHE STRING "Python Version (major and minor only)") mark_as_advanced(PYTHON_VERSION)