From 59cae24e43b13af29c52d037e6f92ee709a84fa4 Mon Sep 17 00:00:00 2001 From: Praveen Chaudhary Date: Mon, 26 Apr 2021 21:53:23 -0700 Subject: [PATCH] [sonic-slave-buster]: upgrade pyang version to 2.4.0 and install only using pip3. (#7441) [sonic-slave-stretch]: upgrade pyang version to 2.4.0. Signed-off-by: Praveen Chaudhary --- sonic-slave-buster/Dockerfile.j2 | 3 +-- sonic-slave-stretch/Dockerfile.j2 | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sonic-slave-buster/Dockerfile.j2 b/sonic-slave-buster/Dockerfile.j2 index 2ab975502c..075bb6916a 100644 --- a/sonic-slave-buster/Dockerfile.j2 +++ b/sonic-slave-buster/Dockerfile.j2 @@ -431,8 +431,7 @@ RUN pip2 install Pympler==0.8 RUN pip3 install Pympler==0.8 # For sonic_yang_model build -RUN pip2 install pyang==2.1.1 -RUN pip3 install pyang==2.1.1 +RUN pip3 install pyang==2.4.0 # For mgmt-framework build RUN pip2 install mmh3==2.5.1 diff --git a/sonic-slave-stretch/Dockerfile.j2 b/sonic-slave-stretch/Dockerfile.j2 index afb69af16b..b22a3d0c22 100644 --- a/sonic-slave-stretch/Dockerfile.j2 +++ b/sonic-slave-stretch/Dockerfile.j2 @@ -369,7 +369,7 @@ RUN pip2 install setuptools==40.8.0 RUN pip2 install Pympler==0.8 # For sonic_yang_model build -RUN pip2 install pyang==2.1.1 +RUN pip3 install pyang==2.4.0 # For mgmt-framework build RUN pip2 install mmh3