From a838b831f56798e52458b396bd6a7074dcd0c5ea Mon Sep 17 00:00:00 2001 From: David Laseca Perez Date: Thu, 26 Nov 2026 08:20:20 +0100 Subject: [PATCH] Pin virtualenv for ESP32 on Jazzy Signed-off-by: David Laseca Perez --- config/freertos/esp32/create.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/freertos/esp32/create.sh b/config/freertos/esp32/create.sh index 2520a618..2861b34a 100755 --- a/config/freertos/esp32/create.sh +++ b/config/freertos/esp32/create.sh @@ -19,7 +19,8 @@ pushd $FW_TARGETDIR >/dev/null echo "Error: python3-pip package must be installed before continuing..." exit 1 fi - pip3 install virtualenv --break-system-packages + # virtualenv>=21.14.6 needs packaging>=26.3, which can't replace Noble's Debian packaging 24.0. + pip3 install "virtualenv<21.14.6" --break-system-packages python3 esp-idf/tools/idf_tools.py install-python-env eval $(python3 $FW_TARGETDIR/toolchain/esp-idf/tools/idf_tools.py export --prefer-system)