xDS Interop: require Python 3.7 (#31323)

This commit is contained in:
Sergii Tkachenko 2022-10-12 11:56:25 -07:00 committed by GitHub
parent 3475489bf3
commit 279b97ecaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -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"

View File

@ -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

View File

@ -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