From 719604e8cc316a9e48f5e99afbc8ea2c7c0dc553 Mon Sep 17 00:00:00 2001 From: Trent Mohay Date: Fri, 17 May 2024 13:08:24 +1000 Subject: [PATCH] Pip is not required on osx --- scripts/acceptance.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/acceptance.sh b/scripts/acceptance.sh index 02cfbae..81c1c40 100755 --- a/scripts/acceptance.sh +++ b/scripts/acceptance.sh @@ -36,10 +36,17 @@ set_shell_debug_level 2 REQUIRED_SYSTEM_COMMANDS=( "kubectl" "python3" - "pip" "virtualenv" ) +if [[ "$OSTYPE" != "darwin"* ]]; then + # not required on OSX, as pip is installed a python package + # during python3 install (via homebrew) and is accessible + # once inside the virtualenv + REQUIRED_SYSTEM_COMMANDS+=(pip) + +fi + if [ "$CLUSTER_PROVIDER" == kind ]; then REQUIRED_SYSTEM_COMMANDS+=(kind) fi