Pre-install python2-requests package for Fedora
The python-requests package has been split into a python2-requests package on Fedora (that provides python-requests). Install this so we don't end up with the same problem of python2-requests overriding the pip version later. Change-Id: I79b52c40c2521bcc36b690112639584b6076f0d1
This commit is contained in:
parent
62f0ab74c5
commit
1ebc7e1a47
@ -118,7 +118,7 @@ function setup_puppet_fedora {
|
||||
# package; clear it out and re-install from pip. This way, the
|
||||
# package is installed for dependencies, and we have a pip-managed
|
||||
# requests with correctly vendored sub-packages.
|
||||
sudo ${YUM} install -y python-requests
|
||||
sudo ${YUM} install -y python2-requests
|
||||
sudo rm -rf /usr/lib/python2.7/site-packages/requests/*
|
||||
sudo rm -rf /usr/lib/python2.7/site-packages/requests-*.{egg,dist}-info
|
||||
sudo pip install requests
|
||||
|
Loading…
x
Reference in New Issue
Block a user