[CPP] xDS interop GCE framework: pin grpcio-tools to use protobuf 3.x (#31214)

pull/31222/head
Sergii Tkachenko 2 years ago committed by GitHub
parent 347bf1a1f4
commit 42e45f93a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tools/internal_ci/linux/grpc_xds_bazel_test_in_docker.sh

@ -28,7 +28,9 @@ VIRTUAL_ENV=$(mktemp -d)
python3 -m virtualenv "$VIRTUAL_ENV" -p python3
PYTHON="$VIRTUAL_ENV"/bin/python
"$PYTHON" -m pip install --upgrade pip==19.3.1
"$PYTHON" -m pip install --upgrade grpcio grpcio-tools google-api-python-client google-auth-httplib2 oauth2client xds-protos
# TODO(sergiitk): Unpin grpcio-tools when a version of xds-protos
# compatible with protobuf 4.X is uploaded to PyPi.
"$PYTHON" -m pip install --upgrade grpcio grpcio-tools==1.48.1 google-api-python-client google-auth-httplib2 oauth2client xds-protos
# Prepare generated Python code.
TOOLS_DIR=tools/run_tests

Loading…
Cancel
Save