From 189afa88c65b6c524b9ccaf3e441b20f9ad7a000 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 27 Jan 2021 10:10:06 +0100 Subject: [PATCH] Fix get-pip which dropped support for legacy Python Fix pyenv to continue to support legacy Python builds despite the fact that `get-pip` has dropped support for Python 2 as discussed in pypa/get-pip#87 --- plugins/python-build/bin/python-build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 043cc4f1..8a1be844 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -2090,6 +2090,9 @@ if [ -z "${GET_PIP_URL}" ]; then 2.6 | 2.6.* ) GET_PIP_URL="https://bootstrap.pypa.io/2.6/get-pip.py" ;; + 2.7 | 2.7.* ) + GET_PIP_URL="https://bootstrap.pypa.io/2.7/get-pip.py" + ;; 3.2 | 3.2.* ) GET_PIP_URL="https://bootstrap.pypa.io/3.2/get-pip.py" ;;