From c47019808054bc56a5fd09da79be41a1e9178827 Mon Sep 17 00:00:00 2001 From: Daniel Savchenko <dsavchenko@carlos.informatik.rwth-aachen.de> Date: Thu, 24 Oct 2024 15:22:20 +0200 Subject: [PATCH] update back to python 3.13 and update pybind to newest version --- cmake/CMakeLists.txt | 4 ++-- tests/run_tests.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 88a37136..38254b83 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -96,14 +96,14 @@ endif() if (NOT DISABLE_OPENFLIPPER_PYTHON_SYSTEM) if (NOT Python3_FOUND) - find_package(Python3 3.12 COMPONENTS Interpreter Development) + find_package(Python3 3.13 COMPONENTS Interpreter Development) endif() if (NOT TARGET pybind11::module OR NOT TARGET pybind11::embed) include(FetchContent) FetchContent_Declare( pybind11 GIT_REPOSITORY https://github.com/pybind/pybind11 - GIT_TAG v2.10.4 + GIT_TAG v2.13.6 ) set(FETCHCONTENT_FULLY_DISCONNECTED OFF) FetchContent_MakeAvailable(pybind11) diff --git a/tests/run_tests.py b/tests/run_tests.py index e68b311a..fccc7d77 100644 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -131,9 +131,9 @@ elif sys.platform == "win32": cmake_parameters = [cmake_executable, gtest_prefix , "-G", cmake_generator ,"-DCMAKE_BUILD_TYPE=Debug","-DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE"] cmake_parameters.append("--debug-output") - cmake_parameters.append("-DPython3_INCLUDE_DIR=C:\Program Files\Python312\include") - cmake_parameters.append("-DPython3_LIBRARY=C:\Program Files\Python312\libs\python312.lib") - cmake_parameters.append("-DPython3_EXECUTABLE=C:\Program Files\Python312\python.exe") + cmake_parameters.append("-DPython3_INCLUDE_DIR=C:\Program Files\Python313\include") + cmake_parameters.append("-DPython3_LIBRARY=C:\Program Files\Python313\libs\python313.lib") + cmake_parameters.append("-DPython3_EXECUTABLE=C:\Program Files\Python313\python.exe") cmake_parameters.extend(cmake_configuration_list) cmake_parameters.append("..") -- GitLab