]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
admin: be compatible with pip shipped by distro older than v20.2 37527/head
authorKefu Chai <kchai@redhat.com>
Fri, 2 Oct 2020 16:41:06 +0000 (00:41 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 2 Oct 2020 16:45:39 +0000 (00:45 +0800)
commit70caf0dfe8ca47711b6fd5bcb5672355d7082c11
treeb28588f4901eba951086723f47107e189f80e617
parent87f23d0350aa6bda347368c125196c9a24c29826
admin: be compatible with pip shipped by distro older than v20.2

pip v20.2 introduced a new option named --use-feature, which is not
available with <20.2. so we need to check for it before using it. see
also
https://pip.pypa.io/en/stable/user_guide/#changes-to-the-pip-dependency-resolver-in-20-2-2020

Fixes: https://tracker.ceph.com/issues/47636
Signed-off-by: Kefu Chai <kchai@redhat.com>
admin/build-doc