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 2020/12/18 09:47:15 UTC

[incubator-datalab] branch DATALAB-2091 updated: [DATALAB-2091]: changed some libs

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

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


The following commit(s) were added to refs/heads/DATALAB-2091 by this push:
     new b6871c7  [DATALAB-2091]: changed some libs
b6871c7 is described below

commit b6871c79314279fefc7f9d6e3657baada1df48f0
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Fri Dec 18 11:46:57 2020 +0200

    [DATALAB-2091]: changed some libs
---
 infrastructure-provisioning/src/base/entrypoint.py                | 2 +-
 infrastructure-provisioning/src/general/api/create.py             | 2 +-
 infrastructure-provisioning/src/general/files/gcp/base_Dockerfile | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/infrastructure-provisioning/src/base/entrypoint.py b/infrastructure-provisioning/src/base/entrypoint.py
index c8b5eb4..d00742d 100644
--- a/infrastructure-provisioning/src/base/entrypoint.py
+++ b/infrastructure-provisioning/src/base/entrypoint.py
@@ -22,7 +22,7 @@
 # ******************************************************************************
 
 import os
-from ConfigParser import SafeConfigParser
+from configparser import SafeConfigParser
 import argparse
 from fabric.api import *
 import json
diff --git a/infrastructure-provisioning/src/general/api/create.py b/infrastructure-provisioning/src/general/api/create.py
index e0910dc..e92db83 100644
--- a/infrastructure-provisioning/src/general/api/create.py
+++ b/infrastructure-provisioning/src/general/api/create.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 # *****************************************************************************
 #
diff --git a/infrastructure-provisioning/src/general/files/gcp/base_Dockerfile b/infrastructure-provisioning/src/general/files/gcp/base_Dockerfile
index 852c60c..f147933 100644
--- a/infrastructure-provisioning/src/general/files/gcp/base_Dockerfile
+++ b/infrastructure-provisioning/src/general/files/gcp/base_Dockerfile
@@ -30,8 +30,8 @@ RUN	apt-get update && \
     apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 
 # Install any python dependencies
-RUN pip3 install -UI pip==20.1 && \
-    pip3 install boto3 backoff fab-classic  fabvenv  argparse ujson jupyter pycrypto google-api-python-client google-cloud-storage \
+RUN python3 -m pip install -UI pip==20.1 && \
+    python3 -m pip install -U six configparser boto3 backoff fab-classic  fabvenv  argparse ujson jupyter pycrypto google-api-python-client google-cloud-storage \
     pyyaml google-auth-httplib2 oauth2client
 
 # Configuring ssh for user


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