Bump virtualenv to version prior to 20.2.2

Recently released virtualenv breaks linter jobs. In order to prevent this
we temporary fix it's version before this release

Make centos-8 job non-voting as fixing centos 8.3 creates a circular
dependancy on this patch.

Change-Id: I1dc269944445a1493c0008d9f318db56d9f0274f
This commit is contained in:
Dmitriy Rabotyagov 2020-12-07 20:01:40 +02:00 committed by Jonathan Rosser
parent bf8ace921a
commit b4426f7312
2 changed files with 11 additions and 4 deletions

View File

@ -73,14 +73,13 @@ eval sudo ${pkg_mgr_cmd} ${pkg_list}
PIP_EXEC_PATH=$(which pip3 || which pip)
# Install bindep and tox
if [[ "${ID,,}" == "centos" ]] && [[ ${VERSION_ID} == "8" ]]; then
sudo alternatives --set python /usr/bin/python3
sudo "${PIP_EXEC_PATH}" install 'bindep>=2.4.0' tox
else
sudo "${PIP_EXEC_PATH}" install 'bindep>=2.4.0' tox
fi
# Install bindep and tox
sudo "${PIP_EXEC_PATH}" install 'bindep>=2.4.0' tox 'virtualenv<20.2.2'
if [[ "${ID,,}" == "fedora" ]]; then
sudo dnf -y install redhat-lsb-core yum-utils
# openSUSE 42.1 does not have python-ndg-httpsclient

View File

@ -19,3 +19,11 @@
- check-requirements
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-ansible-functional-centos-8:
voting: false
gate:
jobs:
- openstack-ansible-functional-centos-8:
voting: false