Pin requests to version < 2.4.0 due to bug

os-c-c ec2 collector fails with requests 2.4.0 due to a regression.

Change-Id: I2a74773b7ecdfcd7c53946124a7d43ee738eff2f
Closes-Bug: #1363889
This commit is contained in:
Gregory Haynes 2014-08-29 17:25:48 -07:00 committed by Derek Higgins
parent 3dc5c817d2
commit d8ead0fe58
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ else
# bug #1293812 : Avoid easy_install triggering on pbr.
/opt/stack/venvs/os-collect-config/bin/pip install -U 'pbr>=0.6,<1.0'
/opt/stack/venvs/os-collect-config/bin/pip install --pre -U os-collect-config
# Workaround for https://github.com/kennethreitz/requests/issues/2192
/opt/stack/venvs/os-collect-config/bin/pip install -U 'requests<2.4.0'
fi
# Write the manifest of what was installed