瀏覽代碼

Don't update conda when installing pip

pull/2074/head
Anton Petrov 4 年之前
committed by GitHub
父節點
當前提交
0a3b72d890
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      plugins/python-build/bin/python-build

+ 3
- 1
plugins/python-build/bin/python-build 查看文件

@ -1042,7 +1042,9 @@ build_package_anaconda() {
build_package_miniconda() {
build_package_anaconda "$@"
"${PREFIX_PATH}/bin/conda" install --yes "pip"
# Workaround to not upgrade conda when installing pip
# see https://github.com/pyenv/pyenv/issues/2070
"${PREFIX_PATH}/bin/conda" install --yes "pip" "conda=$(${PREFIX_PATH}/bin/conda --version | cut -d ' ' -f 2)
}
build_package_copy() {

Loading…
取消
儲存