Browse Source

Merge pull request #2074 from anton-petrov/master

Don't update conda when installing pip
pull/2075/head
Anton Petrov 3 years ago
committed by GitHub
parent
commit
9ecfdd1073
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      plugins/python-build/bin/python-build

+ 3
- 1
plugins/python-build/bin/python-build View File

@ -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…
Cancel
Save