From e75796441b26b9b619e791fcffc87fa9efc16043 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Wed, 30 Oct 2024 14:46:07 +0100 Subject: [PATCH 1/2] (env) use system python for virtualenv --- setup/tue-env.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/tue-env.bash b/setup/tue-env.bash index 11c41b112..c918e3a76 100644 --- a/setup/tue-env.bash +++ b/setup/tue-env.bash @@ -526,7 +526,7 @@ Environment directory '${tue_env_dir}' didn't exist (anymore)""" return 1 fi - python3 -c "import virtualenv" 2>/dev/null || + /usr/bin/python3 -c "import virtualenv" 2>/dev/null || { echo -e "[tue-env](init-venv) 'virtualenv' module is not found. Make sure you install it 'sudo apt-get install python3-virtualenv'"; return 1; } [[ -f "${TUE_DIR}"/user/envs/"${tue_env}" ]] || { echo "[tue-env](init-venv) No such environment: '${tue_env}'"; return 1; } @@ -555,7 +555,7 @@ Environment directory '${tue_env_dir}' didn't exist (anymore)""" then system_site_args="--system-site-packages" fi - python3 -m virtualenv "${venv_dir}" ${system_site_args:+${system_site_args} }--symlinks -q 2>/dev/null + /usr/bin/python3 -m virtualenv "${venv_dir}" ${system_site_args:+${system_site_args} }--symlinks -q 2>/dev/null echo "[tue-env](init-venv) Initialized virtualenv of environment '${tue_env}'" if [ "${tue_env}" == "${TUE_ENV}" ] From c6bff54ba48aa47ed37cef3ff8e4455f21a45530 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Wed, 30 Oct 2024 14:46:34 +0100 Subject: [PATCH 2/2] Bump VERSION to 1.27.3 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 457f03854..3bae5204b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.27.2 +1.27.3