Remove python-requests and let it be installed via rpm

There is a bug [1] where installing requests via pip breaks the rpm
installation. So we remove it manually to address the dogtag gate
breakage.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1352554

Change-Id: I9cab4c579e6aab381394dc5ce1246906e0ac2a54
This commit is contained in:
Juan Antonio Osorio Robles 2017-05-12 20:04:13 +03:00 committed by Ade Lee
parent ee3675cfb1
commit bfa398f883

View File

@ -545,6 +545,9 @@ EOF
} }
function install_dogtag_plugin_dependencies { function install_dogtag_plugin_dependencies {
# Removing the pip-installed python-requests package is needed because of:
# https://bugzilla.redhat.com/show_bug.cgi?id=1352554
sudo rm -rf /usr/lib/python2.7/site-packages/requests
install_package nss-devel 389-ds-base pki-ca pki-kra install_package nss-devel 389-ds-base pki-ca pki-kra
} }