Skip to content

Commit

Permalink
install-deps.sh: Use legacy pip resolver
Browse files Browse the repository at this point in the history
Due to the issue described in pypa/pip#9818 I
am seeing lots of downloads and prolonged runtime when installing
dependencies.

Fixes: https://tracker.ceph.com/issues/52660

Signed-off-by: Brad Hubbard <[email protected]>
  • Loading branch information
badone committed Sep 24, 2021
1 parent ef96b3c commit c9ca523
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,10 @@ function populate_wheelhouse() {
pip $PIP_OPTS $install \
'setuptools >= 0.8' 'pip >= 21.0' 'wheel >= 0.24' 'tox >= 2.9.1' || return 1
if test $# != 0 ; then
pip $PIP_OPTS $install $@ || return 1
# '--use-feature=fast-deps --use-deprecated=legacy-resolver' added per
# https://github.com/pypa/pip/issues/9818 These should be able to be
# removed at some point in the future.
pip --use-feature=fast-deps --use-deprecated=legacy-resolver $PIP_OPTS $install $@ || return 1
fi
}

Expand Down

0 comments on commit c9ca523

Please sign in to comment.