ソースを参照

Merge pull request #2764 from xaocon/pip-fix

use -I with ensurepip
pull/2778/head
native-api 2年前
committed by GitHub
コミット
9100243866
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
3個のファイルの変更4行の追加3行の削除
  1. +1
    -0
      plugins/.gitignore
  2. +1
    -1
      plugins/python-build/bin/python-build
  3. +2
    -2
      plugins/python-build/test/pyenv_ext.bats

+ 1
- 0
plugins/.gitignore ファイルの表示

@ -2,3 +2,4 @@
!/.gitignore
!/version-ext-compat
!/python-build
/python-build/test/build

+ 1
- 1
plugins/python-build/bin/python-build ファイルの表示

@ -2025,7 +2025,7 @@ build_package_ensurepip() {
ensurepip_opts="--altinstall"
fi
# FIXME: `--altinstall` with `get-pip.py`
"$PYTHON_BIN" -s -m ensurepip ${ensurepip_opts} 1>/dev/null 2>&1 || build_package_get_pip "$@" || return 1
"$PYTHON_BIN" -I -m ensurepip ${ensurepip_opts} 1>/dev/null 2>&1 || build_package_get_pip "$@" || return 1
build_package_symlink_version_suffix
}

+ 2
- 2
plugins/python-build/test/pyenv_ext.bats ファイルの表示

@ -200,7 +200,7 @@ OUT
assert_success
assert_build_log <<OUT
python -s -m ensurepip
python -I -m ensurepip
OUT
}
@ -218,7 +218,7 @@ OUT
assert_success
assert_build_log <<OUT
python -s -m ensurepip --altinstall
python -I -m ensurepip --altinstall
OUT
}

読み込み中…
キャンセル
保存