From 0bd70a2e53484a8a33922a32b43ce19660f2c1e0 Mon Sep 17 00:00:00 2001 From: Nascire Date: Wed, 6 Oct 2021 18:07:20 +0200 Subject: [PATCH] Fix git master install on alpine 3.12+ With default version 3003.3, you run into https://github.com/saltstack/salt/issues/55159, which was fixed by https://github.com/saltstack/salt/pull/60811 If you want to install from git master, it fails because py2-pip is unavailable - Alpine 3.11 was the last version to include py2-pip This PR changes the git master process to python3 and adds all requirements for a successful build --- bootstrap-salt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 526b7e9df..965a86f0f 100644 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -5011,8 +5011,8 @@ install_alpine_linux_git_deps() { fi fi else - apk -U add python2 py2-pip py2-setuptools || return 1 - _PY_EXE=python2 + apk -U add python3 python3-dev py3-pip py3-setuptools g++ linux-headers zeromq-dev || return 1 + _PY_EXE=python3 return 0 fi