diff --git a/sdk/RELEASE.md b/sdk/RELEASE.md index ccc85cb4832c..03c3d86f1cd2 100644 --- a/sdk/RELEASE.md +++ b/sdk/RELEASE.md @@ -46,6 +46,7 @@ * Load v1 and v2 component yaml into v2 ComponentSpec and convert v1 component spec to v2 component spec [\#6497](https://github.com/kubeflow/pipelines/issues/6497) * Format all Python files under SDK folder. [\#6501](https://github.com/kubeflow/pipelines/issues/6501) +* Update upper bound on kubernetes constraint in Python SDK. [\#6532](https://github.com/kubeflow/pipelines/pull/6532) ## Documentation Updates diff --git a/sdk/python/requirements.in b/sdk/python/requirements.in index 59ed232b93f6..c389eb87aed7 100644 --- a/sdk/python/requirements.in +++ b/sdk/python/requirements.in @@ -13,7 +13,7 @@ docstring-parser>=0.7.3,<1 # kfp.dsl PyYAML>=5.3,<6 jsonschema>=3.0.1,<4 -kubernetes>=8.0.0,<13 +kubernetes>=8.0.0,<19 # kfp.Client kfp-server-api>=1.1.2,<2.0.0 diff --git a/sdk/python/requirements.txt b/sdk/python/requirements.txt index 106a020d5c29..9cd6d620c788 100644 --- a/sdk/python/requirements.txt +++ b/sdk/python/requirements.txt @@ -4,6 +4,7 @@ # # pip-compile requirements.in # + absl-py==0.11.0 # via -r requirements.in attrs==20.3.0 @@ -68,7 +69,7 @@ kfp-pipeline-spec==0.1.9 # via -r requirements.in kfp-server-api==1.3.0 # via -r requirements.in -kubernetes==12.0.1 +kubernetes==18.20.0 # via -r requirements.in oauthlib==3.1.0 # via requests-oauthlib diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 52ab99950ae8..fdf1c99dcc91 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -28,7 +28,7 @@ # `Blob.from_string` was introduced in google-cloud-storage 1.20.0 # https://github.com/googleapis/python-storage/blob/master/CHANGELOG.md#1200 'google-cloud-storage>=1.20.0,<2', - 'kubernetes>=8.0.0,<13', + 'kubernetes>=8.0.0,<19', # google-api-python-client v2 doesn't work for private dicovery by default: # https://github.com/googleapis/google-api-python-client/issues/1225#issuecomment-791058235 'google-api-python-client>=1.7.8,<2',