From 40ca157ce955a0ee4975b0d41bf5807c0f9a3808 Mon Sep 17 00:00:00 2001 From: Jerry Flood Date: Tue, 19 Mar 2019 17:16:19 -0400 Subject: Upgrade robot to Python37 Issue-ID: OPTFRA-462 Change-Id: I16358fecf3085c395062b019503a5cbb0aed5416 Signed-off-by: Jerry Flood --- cmso-robot/setup.sh | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) (limited to 'cmso-robot/setup.sh') diff --git a/cmso-robot/setup.sh b/cmso-robot/setup.sh index 1cbd3f9..fa2cc59 100644 --- a/cmso-robot/setup.sh +++ b/cmso-robot/setup.sh @@ -6,28 +6,14 @@ # get the path path=$(pwd) -pip install --upgrade pip -pip install --no-cache-dir --target="$path/robot/library" 'selenium<=3.0.0' -pip install --no-cache-dir --target="$path/robot/library" 'requests==2.11.1' -pip install --no-cache-dir --target="$path/robot/library" 'robotframework-selenium2library==1.8.0' -pip install --no-cache-dir --target="$path/robot/library" 'robotframework-databaselibrary==0.8.1' -pip install --no-cache-dir --target="$path/robot/library" 'robotframework-extendedselenium2library==0.9.1' -pip install --no-cache-dir --target="$path/robot/library" 'robotframework-requests==0.4.5' -pip install --no-cache-dir --target="$path/robot/library" 'robotframework-sshlibrary==2.1.2' -pip install --no-cache-dir --target="$path/robot/library" 'robotframework-sudslibrary==0.8' -pip install --no-cache-dir --target="$path/robot/library" 'robotframework-ftplibrary==1.3' -pip install --no-cache-dir --target="$path/robot/library" 'robotframework-rammbock==0.4.0.1' -pip install --no-cache-dir --target="$path/robot/library" 'deepdiff==2.5.1' -pip install --no-cache-dir --target="$path/robot/library" 'dnspython==1.15.0' -pip install --no-cache-dir --target="$path/robot/library" 'robotframework-httplibrary==0.4.2' -pip install --no-cache-dir --target="$path/robot/library" 'robotframework-archivelibrary==0.3.2' -pip install --no-cache-dir --target="$path/robot/library" 'PyYAML==3.12' - -# NOTE: Patch to incude explicit install of paramiko to 2.0.2 to work with sshlibrary 2.1.2 -# This should be removed on new release of paramiko (2.1.2) or sshlibrary -# https://github.com/robotframework/SSHLibrary/issues/157 -pip install --no-cache-dir --target="$path/robot/library" -U 'paramiko==2.0.2' - +pip install --no-cache-dir --target="$path/library" \ + 'robotframework' \ + 'requests' \ + 'robotframework-requests' \ + 'selenium' \ + 'robotframework-seleniumlibrary' \ + 'robotframework-sshlibrary' \ + 'paramiko' # # Get the appropriate chromedriver. Default to linux64 # -- cgit 1.2.3-korg