From: wywywywy Date: Mon, 22 Jan 2024 21:55:41 +0000 (+0000) Subject: ci: fix broken cloudsmith python X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bebc91b7f349d56536ea94e8a12c0445f9657f41;p=thirdparty%2Ftvheadend.git ci: fix broken cloudsmith python --- diff --git a/support/cloudsmith.sh b/support/cloudsmith.sh index d759e098d..37e1d27d1 100755 --- a/support/cloudsmith.sh +++ b/support/cloudsmith.sh @@ -56,8 +56,8 @@ apt install --force-yes -y python3.7 || true # Function to initialize pip using ensurepip and upgrade if necessary initialize_pip() { - # Use ensurepip to bootstrap pip - python3 -m ensurepip + # Use ensurepip to bootstrap pip if available + python3 -m ensurepip || true PYTHON_VERSION=$(python3 -c 'import platform; print(platform.python_version())') MAJOR_VERSION=$(echo $PYTHON_VERSION | cut -d. -f1)