xDS Interop: require Python 3.7 (#31323)

pull/31338/head
Sergii Tkachenko 2 years ago committed by GitHub
parent 3475489bf3
commit 279b97ecaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/internal_ci/linux/grpc_xds_k8s_install_test_driver.sh
  2. 4
      tools/run_tests/xds_k8s_test_driver/README.md
  3. 1
      tools/run_tests/xds_k8s_test_driver/requirements.txt

@ -16,7 +16,7 @@
set -eo pipefail
# Constants
readonly PYTHON_VERSION="${PYTHON_VERSION:-3.6}"
readonly PYTHON_VERSION="${PYTHON_VERSION:-3.7}"
# Test driver
readonly TEST_DRIVER_REPO_NAME="grpc"
readonly TEST_DRIVER_REPO_URL="https://github.com/${TEST_DRIVER_REPO_OWNER:-grpc}/grpc.git"

@ -24,7 +24,7 @@ changes to this codebase at the moment.
## Installation
#### Requirements
1. Python v3.6+
1. Python v3.7+
2. [Google Cloud SDK](https://cloud.google.com/sdk/docs/install)
3. `kubectl`
@ -174,7 +174,7 @@ export KUBE_CONTEXT="$(kubectl config current-context)"
```shell
# Create python virtual environment
python3.6 -m venv venv
python3.7 -m venv venv
# Activate virtual environment
. ./venv/bin/activate

@ -1,7 +1,6 @@
Mako~=1.1
PyYAML~=5.3
absl-py~=0.11
dataclasses~=0.8; python_version < '3.7'
google-api-python-client~=1.12
google-cloud-secret-manager~=2.1
grpcio~=1.34

Loading…
Cancel
Save