Fixed versions for all python libs used for CSIT testing. 63/134563/3
authoradheli.tavares <adheli.tavares@est.tech>
Fri, 12 May 2023 13:19:50 +0000 (14:19 +0100)
committeradheli.tavares <adheli.tavares@est.tech>
Tue, 16 May 2023 09:06:28 +0000 (10:06 +0100)
- 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>
csit/resources/scripts/prepare-robot-env.sh
csit/resources/scripts/pylibs.txt

index 0e0778f..2281d23 100755 (executable)
@@ -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
index 260b5bd..a9b4e49 100644 (file)
@@ -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