summaryrefslogtreecommitdiffstats
path: root/csit/resources/scripts
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2023-05-12 14:19:50 +0100
committeradheli.tavares <adheli.tavares@est.tech>2023-05-16 10:06:28 +0100
commit6b61d075fa29f2a3cec319bba3bb953bf41680ab (patch)
tree26512d5e078c77f6beb7aa15ddacb57716c7b1cd /csit/resources/scripts
parent30dcba6e37cae5a61a07c1bb8d2a6cac36d4e9cb (diff)
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 <adheli.tavares@est.tech>
Diffstat (limited to 'csit/resources/scripts')
-rwxr-xr-xcsit/resources/scripts/prepare-robot-env.sh2
-rw-r--r--csit/resources/scripts/pylibs.txt36
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