From 993544a7a018d5f10644f9ad6fef2905cc986884 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 5 Feb 2019 15:13:29 +0100 Subject: [PATCH] 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 --- ceph-ansible-pr-syntax-check/build/build | 1 + 1 file changed, 1 insertion(+) 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[@]" -- 2.39.5