Fix error during building docker-sonic-mgmt-framework on 201911 (#8726)

Why I did it
Fix error during building docker-sonic-mgmt-framework on 201911

Signed-off-by: Stephen Sun stephens@nvidia.com

How I did it
Cause:
While building sonic-mgmt-framework docker, it needs to install grpcio-tools version 1.20.0 which has a dependency on grpcio version >=1.20.0.
As >=1.20.0 is specified, it will install the latest version of grpcio.
It had worked well until the grpcio package version 1.40.0 was released 3 days ago.
Looks like some new dependencies are introduced by the latest version.
Fix:
Designate grpcio version 1.39.0 explicitly, which is the latest version of grpcio that worked well.
This commit is contained in:
Stephen Sun 2021-09-13 13:33:10 +08:00 committed by GitHub
parent acb9bbafcc
commit dbbb3b0855
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN pip install connexion==1.1.15 \
setuptools==21.0.0 \
grpcio==1.39.0 \
grpcio-tools==1.20.0 \
pyangbind==0.6.0 \
certifi==2017.4.17 \