CI: Pin pyfakefs to <4 for Python 2

Stable branches only.

pyfakefs 4.0.0 dropped support for Python 2. It is used by the ARA
callback plugin.

Change-Id: Ifc56078f1152c89f5f947851f801799a692a346a
Closes-Bug: #1866079
This commit is contained in:
Mark Goddard 2020-03-04 14:23:21 +00:00
parent aed54c4ff0
commit b50d070ca8
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ function setup_ansible {
ARA_VERSION="<0.16"
fi
# TODO(SamYaple): Move to virtualenv
sudo -H pip install -U "ansible${ANSIBLE_VERSION}" "docker>=2.0.0" "python-openstackclient" "ara${ARA_VERSION}" "cmd2<0.9.0"
sudo -H pip install -U "ansible${ANSIBLE_VERSION}" "docker>=2.0.0" "python-openstackclient" "ara${ARA_VERSION}" "cmd2<0.9.0" "pyfakefs<4"
if [[ $ACTION == "zun" ]]; then
sudo -H pip install -U "python-zunclient"
fi