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
This commit is contained in:
Christian Clauss 2021-01-27 10:10:06 +01:00 committed by GitHub
parent 569992f25f
commit 189afa88c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2090,6 +2090,9 @@ if [ -z "${GET_PIP_URL}" ]; then
2.6 | 2.6.* ) 2.6 | 2.6.* )
GET_PIP_URL="https://bootstrap.pypa.io/2.6/get-pip.py" 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.* ) 3.2 | 3.2.* )
GET_PIP_URL="https://bootstrap.pypa.io/3.2/get-pip.py" GET_PIP_URL="https://bootstrap.pypa.io/3.2/get-pip.py"
;; ;;