From d24a1bf581b2c086d78ecda9adf27d59746e5e15 Mon Sep 17 00:00:00 2001 From: Alex Latchford Date: Wed, 8 Sep 2021 11:19:50 -0700 Subject: [PATCH] Remove upper bound on kubernetes constraint in Python SDK --- sdk/python/requirements.in | 2 +- sdk/python/requirements.txt | 78 +++++++++++++++++++++---------------- sdk/python/setup.py | 2 +- 3 files changed, 46 insertions(+), 36 deletions(-) diff --git a/sdk/python/requirements.in b/sdk/python/requirements.in index 59ed232b93f6..e0b5d111fd88 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 # 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..620948fbaa48 100644 --- a/sdk/python/requirements.txt +++ b/sdk/python/requirements.txt @@ -1,41 +1,48 @@ # -# This file is autogenerated by pip-compile with python 3.9 +# This file is autogenerated by pip-compile with python 3.6 # To update, run: # # 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 +attrs==21.2.0 # via jsonschema -cachetools==4.2.1 +cachetools==4.2.2 # via google-auth -certifi==2020.12.5 +certifi==2021.5.30 # via # kfp-server-api # kubernetes # requests -cffi==1.14.5 +cffi==1.14.6 # via google-crc32c -chardet==4.0.0 +charset-normalizer==2.0.4 # via requests click==7.1.2 # via -r requirements.in cloudpickle==1.6.0 # via -r requirements.in -deprecated==1.2.11 +dataclasses==0.8 ; python_version < "3.7" + # via + # -r requirements.in + # pydantic +deprecated==1.2.13 # via -r requirements.in -docstring-parser==0.7.3 +docstring-parser==0.10 # via -r requirements.in fire==0.4.0 # via -r requirements.in -google-api-core==1.26.0 +google-api-core==1.31.2 # via # google-api-python-client # google-cloud-core + # google-cloud-storage google-api-python-client==1.12.8 # via -r requirements.in -google-auth==1.27.0 +google-auth==1.35.0 # via # -r requirements.in # google-api-core @@ -46,35 +53,37 @@ google-auth==1.27.0 # kubernetes google-auth-httplib2==0.1.0 # via google-api-python-client -google-cloud-core==1.6.0 +google-cloud-core==2.0.0 # via google-cloud-storage -google-cloud-storage==1.36.1 +google-cloud-storage==1.42.1 # via -r requirements.in google-crc32c==1.1.2 # via google-resumable-media -google-resumable-media==1.2.0 +google-resumable-media==2.0.2 # via google-cloud-storage -googleapis-common-protos==1.52.0 +googleapis-common-protos==1.53.0 # via google-api-core httplib2==0.19.1 # via # google-api-python-client # google-auth-httplib2 -idna==2.10 +idna==3.2 # via requests +importlib-metadata==4.8.1 + # via jsonschema jsonschema==3.2.0 # via -r requirements.in -kfp-pipeline-spec==0.1.9 +kfp-pipeline-spec==0.1.10 # via -r requirements.in -kfp-server-api==1.3.0 +kfp-server-api==1.7.0 # via -r requirements.in -kubernetes==12.0.1 +kubernetes==18.20.0 # via -r requirements.in -oauthlib==3.1.0 +oauthlib==3.1.1 # via requests-oauthlib -packaging==20.9 +packaging==21.0 # via google-api-core -protobuf==3.15.2 +protobuf==3.17.3 # via # google-api-core # googleapis-common-protos @@ -93,9 +102,9 @@ pyparsing==2.4.7 # via # httplib2 # packaging -pyrsistent==0.17.3 +pyrsistent==0.18.0 # via jsonschema -python-dateutil==2.8.1 +python-dateutil==2.8.2 # via # kfp-server-api # kubernetes @@ -105,7 +114,7 @@ pyyaml==5.4.1 # via # -r requirements.in # kubernetes -requests==2.25.1 +requests==2.26.0 # via # google-api-core # google-cloud-storage @@ -118,7 +127,7 @@ requests-toolbelt==0.9.1 # via -r requirements.in rsa==4.7.2 # via google-auth -six==1.15.0 +six==1.16.0 # via # absl-py # fire @@ -126,35 +135,36 @@ six==1.15.0 # google-api-python-client # google-auth # google-auth-httplib2 - # google-cloud-core - # google-resumable-media # jsonschema # kfp-server-api # kubernetes # protobuf # python-dateutil - # websocket-client -strip-hints==0.1.9 +strip-hints==0.1.10 # via -r requirements.in tabulate==0.8.9 # via -r requirements.in termcolor==1.1.0 # via fire -typing-extensions==3.10.0.0 - # via pydantic +typing-extensions==3.10.0.2 + # via + # importlib-metadata + # pydantic uritemplate==3.0.1 # via google-api-python-client -urllib3==1.26.5 +urllib3==1.26.6 # via # kfp-server-api # kubernetes # requests -websocket-client==0.57.0 +websocket-client==1.2.1 # via kubernetes -wheel==0.36.2 +wheel==0.37.0 # via strip-hints wrapt==1.12.1 # via deprecated +zipp==3.5.0 + # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/sdk/python/setup.py b/sdk/python/setup.py index 52ab99950ae8..021459cceaea 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', # 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',