Fix installation of PasteDeploy from upstream pkgs (again)

Similar to what happened some time ago for the stable/queens branch, we
are now seeing issues again on master after there was a new Paste
release being made a couple of weeks ago. So we need to perform
the same workaround of forcing pip to install PasteDeploy over
the distro version on the master branch.

Change-Id: I3e98a08e78182bdf5ec09b30e31b98435ec29456
Closes-Bug: 1803143
This commit is contained in:
Jens Harbott 2018-11-14 15:23:04 +00:00
parent 9e5d173f5a
commit 39de6df041
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ elif [[ "$1" == "stack" && "$2" == "install" ]]; then
# newer version of it, while python-pastedeploy remains. The mismatch
# between the install path of paste and paste.deploy causes Keystone to
# fail to start, with "ImportError: cannot import name deploy."
if [[ "$TARGET_BRANCH" == stable/queens ]]; then
if [[ "$TARGET_BRANCH" == stable/queens || "$TARGET_BRANCH" == master ]]; then
pip_install -U --force PasteDeploy
fi
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then