From 6c15963c7ad2d2b4f842e9ff2915194d1fa9d7ca Mon Sep 17 00:00:00 2001 From: Alex Latchford Date: Wed, 8 Sep 2021 11:19:50 -0700 Subject: [PATCH] Update upper bound on kubernetes constraint in Python SDK --- sdk/python/requirements.in | 2 +- sdk/python/requirements.txt | 4 +++- sdk/python/setup.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) 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..28194c7070a2 100644 --- a/sdk/python/requirements.txt +++ b/sdk/python/requirements.txt @@ -4,6 +4,8 @@ # # pip-compile requirements.in # +--index-url https://artifactory.zgtools.net/artifactory/api/pypi/analytics-python/simple + absl-py==0.11.0 # via -r requirements.in attrs==20.3.0 @@ -68,7 +70,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',