소스 검색

Merge pull request #2764 from xaocon/pip-fix

use -I with ensurepip
pull/2778/head
native-api 2 년 전
committed by GitHub
부모
커밋
9100243866
No known key found for this signature in database 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
}

불러오는 중...
취소
저장