From 7143a695fd0e62149eca62bd1fc00e8c92d80202 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 3 Oct 2023 11:43:28 -0400 Subject: [PATCH] CI: fix the fix for python actually being mildly useful In commit 5c479d7a13a518c18ccb4dc3b6bdd7bfc2a9bdb5, we deleted bad stuff that makes python not work. But we missed the case where it is installed to lib64. --- ci/ciimage/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/ciimage/common.sh b/ci/ciimage/common.sh index 6209ef9a1c08..67d59978f5a7 100644 --- a/ci/ciimage/common.sh +++ b/ci/ciimage/common.sh @@ -39,11 +39,11 @@ dub_fetch() { } install_minimal_python_packages() { - rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED + rm -f /usr/lib*/python3.*/EXTERNALLY-MANAGED python3 -m pip install "${base_python_pkgs[@]}" $* } install_python_packages() { - rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED + rm -f /usr/lib*/python3.*/EXTERNALLY-MANAGED python3 -m pip install "${base_python_pkgs[@]}" "${python_pkgs[@]}" $* }