xDS Interop: require Python 3.7 (#31323)
This commit is contained in:
parent
3475489bf3
commit
279b97ecaa
|
|
@ -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…
Reference in New Issue