From 27d53cbba7573c61a3a724aabcc217e781a40496 Mon Sep 17 00:00:00 2001 From: Ye Jianquan Date: Sat, 9 Jul 2022 19:02:10 +0800 Subject: [PATCH] FIX the build error introduced by textfsm 1.1.3(Published on 2022/7/6) (#11394) Why I did it sonic-mgmt docker image build error, because of the textfsm new version(1.1.3). https://dev.azure.com/mssonic/build/_build/results?buildId=119147&view=logs&j=3dc8fd7e-4368-5a92-293e-d53cefc8c4b3&t=44e6c678-cb87-52d9-8547-bcdbd0ad6ae4&l=43043 How I did it Fix textfsm version to 1.1.2 How to verify it I build the image on my local env, and reproduce the issue with 1.1.3, it's fixed after I change the version to 1.1.2 . Signed-off-by: jianquanye@microsoft.com --- dockers/docker-sonic-mgmt/Dockerfile.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockers/docker-sonic-mgmt/Dockerfile.j2 b/dockers/docker-sonic-mgmt/Dockerfile.j2 index 6435a2114e..06267ccaf6 100755 --- a/dockers/docker-sonic-mgmt/Dockerfile.j2 +++ b/dockers/docker-sonic-mgmt/Dockerfile.j2 @@ -71,7 +71,7 @@ RUN pip install cffi==1.10.0 \ six \ tabulate \ statistics \ - textfsm \ + textfsm==1.1.2 \ virtualenv \ retry \ thrift==0.11.0 \ @@ -233,7 +233,7 @@ RUN python3 -m pip install setuptools-rust \ rpyc \ six \ tabulate \ - textfsm \ + textfsm==1.1.2 \ virtualenv \ wheel==0.33.6 \ pysubnettree \