diff --git a/sonic-slave-stretch/Dockerfile.j2 b/sonic-slave-stretch/Dockerfile.j2 index 2096ba0dcf7f..103a9cd77831 100644 --- a/sonic-slave-stretch/Dockerfile.j2 +++ b/sonic-slave-stretch/Dockerfile.j2 @@ -346,8 +346,8 @@ RUN pip2 install j2cli==0.3.10 RUN pip3 install mockredispy==2.9.3 # For sonic-mgmt-framework -RUN pip2 install "PyYAML==5.4.1" -RUN pip3 install "PyYAML==5.4.1" +RUN pip2 install "PyYAML==5.3.1" +RUN pip3 install "PyYAML==5.3.1" RUN pip2 install "lxml==4.6.2" RUN pip3 install "lxml==4.6.2"