Skip to content

Commit

Permalink
admin: pass --use-feature=2020-resolver to pip
Browse files Browse the repository at this point in the history
to silence the warning like

follow the suggestion from pip

ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

Fixes: https://tracker.ceph.com/issues/47636
Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Sep 24, 2020
1 parent a433ed1 commit bc00a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/build-doc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ cd build-doc
if [ ! -e $vdir ]; then
virtualenv --python=python3 $vdir
fi
$vdir/bin/pip install --quiet -r $TOPDIR/admin/doc-requirements.txt -r $TOPDIR/admin/doc-python-common-requirements.txt
$vdir/bin/pip install --use-feature=2020-resolver --quiet -r $TOPDIR/admin/doc-requirements.txt -r $TOPDIR/admin/doc-python-common-requirements.txt

install -d -m0755 \
$TOPDIR/build-doc/output/html \
Expand Down

0 comments on commit bc00a8f

Please sign in to comment.