diff --git a/tools/cap-pip.txt b/tools/cap-pip.txt new file mode 100644 index 0000000000..8ee551b261 --- /dev/null +++ b/tools/cap-pip.txt @@ -0,0 +1 @@ +pip<20.3 diff --git a/tools/install_pip.sh b/tools/install_pip.sh index f3fd1e2498..9afd2e53c2 100755 --- a/tools/install_pip.sh +++ b/tools/install_pip.sh @@ -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 }