/usr/bin/pip is usually an OS level wrapper for pip. Calling
`python -m pip` ensures that we are getting the pip we are
installing rather than the OS local version.
Change-Id: I054d1cc0455c700e00450295cf76d925cff99f73
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
--- /dev/null
+---
+fixes:
+ - |
+ Use `python -m pip` to ensure that we are using the pip version that
+ was installed rather than the OS wrapper version of pip.
python-openstackclient~=3.16.0
EOF
-pip install --user --quiet --upgrade pip==18.0 setuptools==40.0.0
-pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE"
+python -m pip install --user --quiet --upgrade pip~=18.0 setuptools~=40.2.0
+python -m pip install --user --quiet --upgrade -r "$REQUIREMENTS_FILE"
pip freeze