mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
commit
de17b20a88
2 changed files with 9 additions and 9 deletions
|
@ -2091,22 +2091,22 @@ if [ -z "${GET_PIP_URL}" ]; then
|
|||
# Use custom get-pip URL based on the target version (#1127)
|
||||
case "${DEFINITION_PATH##*/}" in
|
||||
2.6 | 2.6.* )
|
||||
GET_PIP_URL="https://bootstrap.pypa.io/2.6/get-pip.py"
|
||||
GET_PIP_URL="https://bootstrap.pypa.io/pip/2.6/get-pip.py"
|
||||
;;
|
||||
2.7 | 2.7.* )
|
||||
GET_PIP_URL="https://bootstrap.pypa.io/2.7/get-pip.py"
|
||||
GET_PIP_URL="https://bootstrap.pypa.io/pip/2.7/get-pip.py"
|
||||
;;
|
||||
3.2 | 3.2.* )
|
||||
GET_PIP_URL="https://bootstrap.pypa.io/3.2/get-pip.py"
|
||||
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.2/get-pip.py"
|
||||
;;
|
||||
3.3 | 3.3.* )
|
||||
GET_PIP_URL="https://bootstrap.pypa.io/3.3/get-pip.py"
|
||||
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.3/get-pip.py"
|
||||
;;
|
||||
3.4 | 3.4.* )
|
||||
GET_PIP_URL="https://bootstrap.pypa.io/3.4/get-pip.py"
|
||||
GET_PIP_URL="https://bootstrap.pypa.io/pip/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/pip/3.5/get-pip.py"
|
||||
;;
|
||||
* )
|
||||
GET_PIP_URL="https://bootstrap.pypa.io/get-pip.py"
|
||||
|
|
|
@ -360,7 +360,7 @@ OUT
|
|||
run_inline_definition_with_name --name=2.6 <<OUT
|
||||
echo "\${GET_PIP_URL}"
|
||||
OUT
|
||||
assert_output "https://bootstrap.pypa.io/2.6/get-pip.py"
|
||||
assert_output "https://bootstrap.pypa.io/pip/2.6/get-pip.py"
|
||||
assert_success
|
||||
}
|
||||
|
||||
|
@ -368,7 +368,7 @@ OUT
|
|||
run_inline_definition_with_name --name=3.2 <<OUT
|
||||
echo "\${GET_PIP_URL}"
|
||||
OUT
|
||||
assert_output "https://bootstrap.pypa.io/3.2/get-pip.py"
|
||||
assert_output "https://bootstrap.pypa.io/pip/3.2/get-pip.py"
|
||||
assert_success
|
||||
}
|
||||
|
||||
|
@ -376,6 +376,6 @@ OUT
|
|||
run_inline_definition_with_name --name=3.3 <<OUT
|
||||
echo "\${GET_PIP_URL}"
|
||||
OUT
|
||||
assert_output "https://bootstrap.pypa.io/3.3/get-pip.py"
|
||||
assert_output "https://bootstrap.pypa.io/pip/3.3/get-pip.py"
|
||||
assert_success
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue