From 6b61d075fa29f2a3cec319bba3bb953bf41680ab Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Fri, 12 May 2023 14:19:50 +0100 Subject: Fixed versions for all python libs used for CSIT testing. - some libs from pylibs.txt are incompatible with the latest pip and setuptools, so now it's fixed at version 23 or lower and 66 or lower, respectively. Issue-ID: POLICY-4680 Change-Id: I3214f91e9e0eeec2991fb505b5da81f1d6a427ca Signed-off-by: adheli.tavares --- csit/resources/scripts/prepare-robot-env.sh | 2 +- csit/resources/scripts/pylibs.txt | 36 ++++++++++++++--------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/csit/resources/scripts/prepare-robot-env.sh b/csit/resources/scripts/prepare-robot-env.sh index 0e0778f1..2281d235 100755 --- a/csit/resources/scripts/prepare-robot-env.sh +++ b/csit/resources/scripts/prepare-robot-env.sh @@ -34,7 +34,7 @@ source "${ROBOT_VENV}/bin/activate" > /dev/null set -exu -python3 -m pip install -qq --upgrade pip setuptools +python3 -m pip install -qq --upgrade "pip<=23.0" "setuptools<=66.1.1" echo "Installing Python Requirements" python3 -m pip install -qq -r "${SCRIPTS}"/pylibs.txt python3 -m pip -qq freeze diff --git a/csit/resources/scripts/pylibs.txt b/csit/resources/scripts/pylibs.txt index 260b5bd1..a9b4e498 100644 --- a/csit/resources/scripts/pylibs.txt +++ b/csit/resources/scripts/pylibs.txt @@ -1,25 +1,25 @@ -ipaddr -netaddr -netifaces -pyhocon -requests -robotframework-httplibrary -robotframework-requests -robotframework-selenium2library -robotframework-sshlibrary -scapy +ipaddr==2.2.0 +netaddr==0.8.0 +netifaces==0.11.0 +pyhocon==0.3.60 +requests==2.27.1 +robotframework-httplibrary==0.4.2 +robotframework-requests==0.9.4 +robotframework-selenium2library==3.0.0 +robotframework-sshlibrary==3.8.0 +scapy==2.5.0 # Module jsonpath is needed by current AAA idmlite suite. -jsonpath-rw +jsonpath-rw==1.4.0 # Modules for longevity framework robot library -elasticsearch -elasticsearch-dsl +elasticsearch==7.17.9 +elasticsearch-dsl==7.4.1 # Module for pyangbind used by lispflowmapping project -pyangbind +pyangbind==0.8.1 # Module for iso8601 datetime format -isodate +isodate==0.6.1 # Module for TemplatedRequests.robot library -jmespath +jmespath==0.10.0 # Module for backup-restore support library -jsonpatch +jsonpatch==1.32 # odltools for extra debugging -odltools +odltools==0.1.28 -- cgit 1.2.3-korg