Merge "Remove odlmicro CSIT from AR test"
[releng/builder.git] / jjb / integration / integration-install-robotframework.sh
index b557e8da872037fb0fe1e4159397517cc3eb405c..2a961fdb146fcbbf22a3a65875f3c795c54ef5ab 100644 (file)
@@ -16,7 +16,7 @@ echo ROBOT_VENV="${ROBOT_VENV}" >> "${WORKSPACE}/env.properties"
 # The --system-site-packages parameter allows us to pick up system level
 # installed packages. This allows us to bake matplotlib which takes very long
 # to install into the image.
-virtualenv -p python3 --system-site-packages "${ROBOT_VENV}"
+python3 -m venv "${ROBOT_VENV}"
 # shellcheck disable=SC1090
 source "${ROBOT_VENV}/bin/activate"
 
@@ -28,14 +28,12 @@ python -m pip install --upgrade pip
 echo "Installing Python Requirements"
 cat << 'EOF' > "requirements.txt"
 docker-py
-importlib
 ipaddr
 netaddr
 netifaces
 pyhocon
 requests
 robotframework-httplibrary
-robotframework-pycurllibrary
 robotframework-requests
 robotframework-selenium2library
 robotframework-sshlibrary==3.1.1