Workaround for new pip 20.3 behavior
This patch caps pip version during bootstrap to avoid the issue: "ERROR: Links are not allowed as constraints" A proper fix would be to adapt to new pip behavior. Depends-On: https://review.opendev.org/764811 Change-Id: I1feed4573820436f91f8f654cc189fa3a21956fd
This commit is contained in:
parent
907b9042b8
commit
7a3a7ce876
1
tools/cap-pip.txt
Normal file
1
tools/cap-pip.txt
Normal file
@ -0,0 +1 @@
|
||||
pip<20.3
|
@ -91,7 +91,9 @@ function install_get_pip {
|
||||
die $LINENO "Download of get-pip.py failed"
|
||||
touch $LOCAL_PIP.downloaded
|
||||
fi
|
||||
sudo -H -E python${PYTHON3_VERSION} $LOCAL_PIP
|
||||
# TODO: remove the trailing pip constraint when a proper fix
|
||||
# arrives for bug https://bugs.launchpad.net/devstack/+bug/1906322
|
||||
sudo -H -E python${PYTHON3_VERSION} $LOCAL_PIP -c $TOOLS_DIR/cap-pip.txt
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user