This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DLAB-1855 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1855 by this push: new 5eaa170 [DLAB-1855]: added pip3 pip2 upgrade 5eaa170 is described below commit 5eaa1705ecaedc1a485ae4d44ac7feaebcc279c2 Author: leonidfrolov <frolovl...@gmail.com> AuthorDate: Thu Jun 18 10:49:44 2020 +0300 [DLAB-1855]: added pip3 pip2 upgrade --- infrastructure-provisioning/src/general/lib/os/fab.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py index 1e68e3f..179167f 100644 --- a/infrastructure-provisioning/src/general/lib/os/fab.py +++ b/infrastructure-provisioning/src/general/lib/os/fab.py @@ -661,6 +661,8 @@ def configure_data_engine_service_pip(hostname, os_user, keyfile): elif not exists('/usr/bin/pip3') and sudo("python3.7 -V 2>/dev/null | awk '{print $2}'"): manage_pkg('-y install', 'remote', 'python3-pip') sudo('ln -s /usr/bin/pip-3.7 /usr/bin/pip3') + sudo('sudo pip3 install -U pip=={} setuptools'.format(os.environ['conf_pip_version'])) + sudo('sudo pip2 install -U pip=={} setuptools'.format(os.environ['conf_pip_version'])) sudo('echo "export PATH=$PATH:/usr/local/bin" >> /etc/profile') sudo('source /etc/profile') run('source /etc/profile') --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org