mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 23:50:44 +00:00
Don't update conda when installing pip
This commit is contained in:
parent
f018056165
commit
0a3b72d890
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue