Merge "CI: fix ceph-ansible installation after cryptography 3.4 release"

This commit is contained in:
Zuul 2021-02-12 10:23:50 +00:00 committed by Gerrit Code Review
commit 638e00cfb1

View File

@ -9,6 +9,9 @@ export PYTHONUNBUFFERED=1
function setup_ceph_ansible {
# Prepare virtualenv for ceph-ansible deployment
python3 -m venv --system-site-packages ~/ceph-venv
# NOTE(mgoddard): We need a recent pip to install the latest cryptography
# library. See https://github.com/pyca/cryptography/issues/5753
~/ceph-venv/bin/pip install -I 'pip>=19.1.1'
~/ceph-venv/bin/pip install -Ir requirements.txt
~/ceph-venv/bin/pip install -IU selinux
}