Fix the doc CI failure
CI job now uses pip >= 10.0.0 to install the package. In pip >= 10.0.0, if the package name is missing, the command "pip install -U" returns error, but in pip < 10.0.0 it just logs warning. So this patch make sure the package name exists first. Change-Id: Id900640a7133f837ece8c6c0e7d2e4c17665a53d
This commit is contained in:
parent
cc9a7e27d1
commit
ad10c32a89
@ -26,5 +26,7 @@ pip install -c"$localfile" openstack-requirements
|
||||
# install will be constrained and we need to unconstrain it.
|
||||
edit-constraints "$localfile" -- "$CLIENT_NAME"
|
||||
|
||||
if [[ -n "$@" ]]; then
|
||||
pip install -c"$localfile" -U "$@"
|
||||
fi
|
||||
exit $?
|
||||
|
Loading…
x
Reference in New Issue
Block a user