Skip to content

Commit

Permalink
Update gRPC python version in install_fedora_deps.sh
Browse files Browse the repository at this point in the history
The fedora:latest container now comes with Python 3.12. Older gRPC
versions do not support this Python version. See
grpc/grpc#33063.

An alternative would be to pin the fedora container version, but then
someone has to remember to update it periodically...

Signed-off-by: Antonin Bas <antonin.bas@gmail.com>
  • Loading branch information
antoninbas committed Nov 10, 2023
1 parent ac40e1f commit 32b026b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/install_fedora_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ sudo dnf install -y -q \
sudo pip3 install ply ptf scapy==2.4.5 wheel

# Install dependencies for the BMv2 PTF runner and P4Runtime.
sudo pip3 install --upgrade protobuf==3.20.1
sudo pip3 install --upgrade googleapis-common-protos==1.50.0
sudo pip3 install --upgrade grpcio==1.51.1
sudo pip3 install --upgrade protobuf==3.20.3
sudo pip3 install --upgrade googleapis-common-protos==1.61.0
sudo pip3 install --upgrade grpcio==1.59.2

MAKEFLAGS="-j$(nproc)"
export MAKEFLAGS
Expand Down

0 comments on commit 32b026b

Please sign in to comment.