From: Guillaume Abrioux Date: Tue, 5 Feb 2019 14:13:29 +0000 (+0100) Subject: ceph-ansible-pr-syntax-check: get latest version of pip X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=993544a7a018d5f10644f9ad6fef2905cc986884;p=ceph-build.git ceph-ansible-pr-syntax-check: get latest version of pip ensure the latest version of pip is installed for this job to avoid the following error: ``` ValueError: ('Expected version spec in', 'ansible~=2.7,<2.8', 'at', '~=2.7,<2.8') ``` Signed-off-by: Guillaume Abrioux --- diff --git a/ceph-ansible-pr-syntax-check/build/build b/ceph-ansible-pr-syntax-check/build/build index 90886429..ce3f0adc 100644 --- a/ceph-ansible-pr-syntax-check/build/build +++ b/ceph-ansible-pr-syntax-check/build/build @@ -8,6 +8,7 @@ pkgs=( "ansible-lint" ) # force virtualenv to be created earlier for this occurence, so we are not stuck because of ansible-lint dependencie, # which would enforce latest ansible version to be installed. virtualenv $TEMPVENV +"$VENV"/pip install --upgrade pip "$VENV"/pip install -r <(grep ansible "$WORKSPACE"/ceph-ansible/tests/requirements.txt) install_python_packages "pkgs[@]"