Skip to content

Commit

Permalink
Fix error during building docker-sonic-mgmt-framework on 201911 (#8726)
Browse files Browse the repository at this point in the history
Why I did it
Fix error during building docker-sonic-mgmt-framework on 201911

Signed-off-by: Stephen Sun [email protected]

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.
  • Loading branch information
stephenxs authored Sep 13, 2021
1 parent acb9bba commit dbbb3b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dockers/docker-sonic-mgmt-framework/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit dbbb3b0

Please sign in to comment.