From 9d05705160c5decc5025a199bde9b679687567c5 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Wed, 3 Dec 2025 10:11:52 +0100 Subject: [PATCH] cmake: python.cmake venv fixup --- cmake/python.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/python.cmake b/cmake/python.cmake index 7e7dffe0ea..89ddb0ad2f 100644 --- a/cmake/python.cmake +++ b/cmake/python.cmake @@ -833,7 +833,7 @@ if(BUILD_VENV) # Must NOT call it in a folder containing the setup.py otherwise pip call it # (i.e. "python setup.py bdist") while we want to consume the wheel package COMMAND ${VENV_Python3_EXECUTABLE} -m pip install - --find-links=${CMAKE_CURRENT_BINARY_DIR}/python/dist ${PYTHON_PROJECT}==${PROJECT_VERSION} + --find-links=${CMAKE_CURRENT_BINARY_DIR}/python/dist ${PYTHON_PROJECT}==${PROJECT_VERSION}${PYTHON_RELEASE} # install modules only required to run examples COMMAND ${VENV_Python3_EXECUTABLE} -m pip install pandas matplotlib pytest scipy svgwrite