Fix sphinx-docs job
build-openstack-sphinx-docs jobs fail on all branches due to the new pip version 10 introduces some previously Warning as Error: in case of calling "pip install" without any package name, the command fails. tox_install.sh is called during docs job without any package passed to pip. Change-Id: I400d4acf93ab634683cd9c4b05db7c79a51810be
This commit is contained in:
parent
4819030b40
commit
74277db9aa
@ -26,5 +26,10 @@ pip install -c"$localfile" openstack-requirements
|
||||
# install will be constrained and we need to unconstrain it.
|
||||
edit-constraints "$localfile" -- "$CLIENT_NAME"
|
||||
|
||||
if [ -z "$@" ]; then
|
||||
echo "No packages to be installed."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
pip install -c"$localfile" -U "$@"
|
||||
exit $?
|
||||
|
Loading…
Reference in New Issue
Block a user