[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 <pchaudhary@linkedin.com>
This commit is contained in:
Praveen Chaudhary 2021-04-26 21:53:23 -07:00 committed by Guohan Lu
parent 16dc30b944
commit 59cae24e43
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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