Quellcode durchsuchen

Merge pull request #1844 from mateumann/master

Update GET_PIP_URL
pull/1855/head
Anton Petrov vor 5 Jahren
committed von GitHub
Ursprung
Commit
de17b20a88
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: 4AEE18F83AFDEB23
2 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. +6
    -6
      plugins/python-build/bin/python-build
  2. +3
    -3
      plugins/python-build/test/pyenv_ext.bats

+ 6
- 6
plugins/python-build/bin/python-build Datei anzeigen

@ -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"

+ 3
- 3
plugins/python-build/test/pyenv_ext.bats Datei anzeigen

@ -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
} }

Laden…
Abbrechen
Speichern