Merge pull request #1844 from mateumann/master

Update GET_PIP_URL
This commit is contained in:
Anton Petrov 2021-03-09 13:05:52 +03:00 committed by GitHub
commit de17b20a88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View file

@ -2091,22 +2091,22 @@ if [ -z "${GET_PIP_URL}" ]; then
# Use custom get-pip URL based on the target version (#1127) # Use custom get-pip URL based on the target version (#1127)
case "${DEFINITION_PATH##*/}" in case "${DEFINITION_PATH##*/}" in
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/pip/2.6/get-pip.py"
;; ;;
2.7 | 2.7.* ) 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.* ) 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.* ) 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.* ) 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.* ) 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" GET_PIP_URL="https://bootstrap.pypa.io/get-pip.py"

View file

@ -360,7 +360,7 @@ OUT
run_inline_definition_with_name --name=2.6 <<OUT run_inline_definition_with_name --name=2.6 <<OUT
echo "\${GET_PIP_URL}" echo "\${GET_PIP_URL}"
OUT 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 assert_success
} }
@ -368,7 +368,7 @@ OUT
run_inline_definition_with_name --name=3.2 <<OUT run_inline_definition_with_name --name=3.2 <<OUT
echo "\${GET_PIP_URL}" echo "\${GET_PIP_URL}"
OUT 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 assert_success
} }
@ -376,6 +376,6 @@ OUT
run_inline_definition_with_name --name=3.3 <<OUT run_inline_definition_with_name --name=3.3 <<OUT
echo "\${GET_PIP_URL}" echo "\${GET_PIP_URL}"
OUT 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 assert_success
} }