Skip to content

Commit

Permalink
Merge pull request #1793 from cclauss/patch-2
Browse files Browse the repository at this point in the history
Fix get-pip which dropped support for legacy Python
  • Loading branch information
anton-petrov committed Jan 27, 2021
2 parents 569992f + 93025e9 commit 136bfab
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions plugins/python-build/bin/python-build
Expand Up @@ -2090,12 +2090,21 @@ 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"
;;
3.3 | 3.3.* )
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"
;;
Expand Down

0 comments on commit 136bfab

Please sign in to comment.