Merge pull request #1793 from cclauss/patch-2

Fix get-pip which dropped support for legacy Python
This commit is contained in:
Anton Petrov 2021-01-27 20:01:02 +03:00 committed by GitHub
commit 136bfab5f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2090,12 +2090,21 @@ 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"
;; ;;
3.3 | 3.3.* ) 3.3 | 3.3.* )
GET_PIP_URL="https://bootstrap.pypa.io/3.3/get-pip.py" GET_PIP_URL="https://bootstrap.pypa.io/3.3/get-pip.py"
;; ;;
3.4 | 3.4.* )
GET_PIP_URL="https://bootstrap.pypa.io/3.4/get-pip.py"
;;
3.5 | 3.5.* )
GET_PIP_URL="https://bootstrap.pypa.io/3.5/get-pip.py"
;;
* ) * )
GET_PIP_URL="https://bootstrap.pypa.io/get-pip.py" GET_PIP_URL="https://bootstrap.pypa.io/get-pip.py"
;; ;;