From 624a1f803c845f6b1a8ef31275fe7b9db3294717 Mon Sep 17 00:00:00 2001 From: Tommy Li Date: Wed, 10 Feb 2021 10:34:15 -0800 Subject: [PATCH] Remove python 3.5 support (#463) --- .travis.yml | 18 +++++++++--------- sdk/README.md | 2 +- sdk/python/README.md | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5004074f566..e6cfcd1c59a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,26 +14,26 @@ matrix: include: - - name: "Unit tests, Python 3.5" + - name: "Unit tests, Python 3.6" language: python - python: "3.5" - env: TOXENV=py35 + python: "3.6" + env: TOXENV=py36 install: &0 - python3 -m pip install -e sdk/python script: &1 - VENV=$VIRTUAL_ENV make unit_test - - name: "Unit tests, Python 3.6" - language: python - python: "3.6" - env: TOXENV=py36 - install: *0 - script: *1 - name: "Unit tests, Python 3.7" language: python python: "3.7" env: TOXENV=py37 install: *0 script: *1 + - name: "Unit tests, Python 3.8" + language: python + python: "3.8" + env: TOXENV=py38 + install: *0 + script: *1 - name: "Progress report on compiling KFP DSL test scripts" language: python python: "3.7" diff --git a/sdk/README.md b/sdk/README.md index 12e18e2101f..4dd0e8eaf27 100644 --- a/sdk/README.md +++ b/sdk/README.md @@ -56,7 +56,7 @@ adding the `TektonCompiler` and the `TektonClient`: ## Project Prerequisites - - Python: `3.5.3` or later + - Python: `3.6` or later - Tekton: [`v0.16.3`](https://github.com/tektoncd/pipeline/releases/tag/v0.16.3) or [later](https://github.com/tektoncd/pipeline/releases/latest) - Tekton CLI: [`0.11.0`](https://github.com/tektoncd/cli/releases/tag/v0.11.0) - Kubeflow Pipelines: [KFP with Tekton backend](/guides/kfp_tekton_install.md) diff --git a/sdk/python/README.md b/sdk/python/README.md index 832ae9ad55b..aafb8e424d2 100644 --- a/sdk/python/README.md +++ b/sdk/python/README.md @@ -33,7 +33,7 @@ can be found in the [SDK README](/sdk/README.md) ## Development Prerequisites -1. [`Python`](https://www.python.org/downloads/): version `3.5.3` or later (new code must maintain compatibility with `3.5`) +1. [`Python`](https://www.python.org/downloads/): version `3.6` or later (new code must maintain compatibility with `3.6`) 2. [`Kubernetes` Cluster](https://kubernetes.io/): version `1.18` ([required by Kubeflow](https://www.kubeflow.org/docs/started/k8s/overview/) and Tekton `0.20`) 3. [`kubectl` CLI](https://kubernetes.io/docs/tasks/tools/install-kubectl/): required to deploy Tekton pipelines to Kubernetes cluster 4. [`Tekton` Deployment](https://github.com/tektoncd/pipeline/releases/tag/v0.16.3/): version `0.16.3` or greater, required for end-to-end testing