summaryrefslogtreecommitdiffstats
path: root/admin/build-doc
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2020-09-24 13:39:42 +0200
committerKefu Chai <kchai@redhat.com>2020-09-24 13:59:58 +0200
commitbc00a8feb0d2f4ddf14401e2b551fddff622d1de (patch)
treeb9fcc06533849a8db50edcd2e45de267df1050da /admin/build-doc
parentMerge pull request #37244 from ceph/47543-bucket-list-perf (diff)
downloadceph-bc00a8feb0d2f4ddf14401e2b551fddff622d1de.tar.xz
ceph-bc00a8feb0d2f4ddf14401e2b551fddff622d1de.zip
admin: pass --use-feature=2020-resolver to pip
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 <kchai@redhat.com>
Diffstat (limited to 'admin/build-doc')
-rwxr-xr-xadmin/build-doc2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/build-doc b/admin/build-doc
index 96a87d76fba..239819b98cd 100755
--- a/admin/build-doc
+++ b/admin/build-doc
@@ -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 \