Dockerfile: pin testtools==2.4.0

Latest python package testtools, 2.5.0 is not compatible with Python 2.
Use the previous version in Dockerfile

Change-Id: Ie4143dd575b34f42d72f4962f7c0e40437a344fc
Partial-Bug: 1936832
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
This commit is contained in:
Davlet Panech 2021-07-19 11:06:48 -04:00
parent 3a60514b44
commit a85cf1cbac

View File

@ -185,7 +185,7 @@ RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == system
COPY toCOPY/builder-constraints.txt /home/$MYUNAME/ COPY toCOPY/builder-constraints.txt /home/$MYUNAME/
RUN pip install -c /home/$MYUNAME/builder-constraints.txt pbr==5.6.0 --upgrade && \ RUN pip install -c /home/$MYUNAME/builder-constraints.txt pbr==5.6.0 --upgrade && \
pip install -c /home/$MYUNAME/builder-constraints.txt git-review==2.1.0 --upgrade && \ pip install -c /home/$MYUNAME/builder-constraints.txt git-review==2.1.0 --upgrade && \
pip install -c /home/$MYUNAME/builder-constraints.txt python-subunit==1.4.0 junitxml==0.7 --upgrade && \ pip install -c /home/$MYUNAME/builder-constraints.txt python-subunit==1.4.0 junitxml==0.7 testtools==2.4.0 --upgrade && \
pip install -c /home/$MYUNAME/builder-constraints.txt tox==3.23.0 --upgrade pip install -c /home/$MYUNAME/builder-constraints.txt tox==3.23.0 --upgrade
# Inherited tools for mock stuff # Inherited tools for mock stuff