You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/07/09 08:41:19 UTC

[incubator-datalab] branch DATALAB-2513 created (now 25201b7)

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a change to branch DATALAB-2513
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git.


      at 25201b7  [DATALAB-2513]: commented unused lines for pip2

This branch includes the following new commits:

     new 25201b7  [DATALAB-2513]: commented unused lines for pip2

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org


[incubator-datalab] 01/01: [DATALAB-2513]: commented unused lines for pip2

Posted by lf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2513
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 25201b7b8199f4005377800529204135ecf70201
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Fri Jul 9 11:40:56 2021 +0300

    [DATALAB-2513]: commented unused lines for pip2
---
 .../src/general/scripts/os/get_list_available_pkgs.py        |  4 ++--
 .../src/general/scripts/os/install_additional_libs.py        | 12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/infrastructure-provisioning/src/general/scripts/os/get_list_available_pkgs.py b/infrastructure-provisioning/src/general/scripts/os/get_list_available_pkgs.py
index bc29bbc..8e33b20 100644
--- a/infrastructure-provisioning/src/general/scripts/os/get_list_available_pkgs.py
+++ b/infrastructure-provisioning/src/general/scripts/os/get_list_available_pkgs.py
@@ -82,8 +82,8 @@ if __name__ == "__main__":
         all_pkgs['os_pkg'] = get_available_os_pkgs()
     elif args.group == 'java':
         all_pkgs['java'] = {}
-    elif args.group == 'pip2':
-        all_pkgs['pip2'] = get_available_pip_pkgs("2.7")
+    #elif args.group == 'pip2':
+        #all_pkgs['pip2'] = get_available_pip_pkgs("2.7")
     elif args.group == 'pip3':
         all_pkgs['pip3'] = get_available_pip_pkgs("3.8")
     elif args.group == 'others':
diff --git a/infrastructure-provisioning/src/general/scripts/os/install_additional_libs.py b/infrastructure-provisioning/src/general/scripts/os/install_additional_libs.py
index 1a9bf05..c3661e4 100644
--- a/infrastructure-provisioning/src/general/scripts/os/install_additional_libs.py
+++ b/infrastructure-provisioning/src/general/scripts/os/install_additional_libs.py
@@ -77,12 +77,12 @@ if __name__ == "__main__":
     except KeyError:
         pass
 
-    try:
-        print('Installing pip2 packages: {}'.format(pkgs['libraries']['pip2']))
-        status = install_pip_pkg(pkgs['libraries']['pip2'], 'pip2', 'pip2', args.dataengine_service)
-        general_status = general_status + status
-    except KeyError:
-        pass
+    #try:
+        #print('Installing pip2 packages: {}'.format(pkgs['libraries']['pip2']))
+        #status = install_pip_pkg(pkgs['libraries']['pip2'], 'pip2', 'pip2', args.dataengine_service)
+        #general_status = general_status + status
+    #except KeyError:
+        #pass
 
     try:
         print('Installing pip3 packages: {}'.format(pkgs['libraries']['pip3']))

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org