From 345509b115f487b103a00aa3c296316cc150a144 Mon Sep 17 00:00:00 2001 From: Davlet Panech Date: Mon, 19 Jul 2021 11:06:48 -0400 Subject: [PATCH] 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 Closes-Bug: 1936832 Signed-off-by: Davlet Panech (cherry picked from commit a85cf1cbac6cca612d1344a38331569ef10b7034) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 114215d9..5a513220 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/ 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 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 # Inherited tools for mock stuff