]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
scripts: Add ability to install a different pip version 1556/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 21 Apr 2020 19:00:49 +0000 (15:00 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 21 Apr 2020 19:00:49 +0000 (15:00 -0400)
commit8c5b1fef45a85ea9fe45a152acb2f11f43a05046
tree06d0ad64beacbfd2d1896d0c1c155ea77a357d48
parent21e7a7b2d3aa4d49b3a38c8eab494adb8f928a4b
scripts: Add ability to install a different pip version

@guits was seeing an issue in ceph-ansible jobs with pip 10.0.0.  This commit will allow individual jobs to specify "latest" or "pip==X.X.X" or "pip<20.0.0" as a second parameter to the `install_python_packages` functions.  The default behavior is still no second parameter and pip=10.0.0 will still be installed until we're ready to unpin that.

Signed-off-by: David Galloway <dgallowa@redhat.com>
scripts/build_utils.sh