From bcb0d96861310d17daf3f43da3dfc830da4d2383 Mon Sep 17 00:00:00 2001 From: Sandeep Gupta <88751631+feizerl@users.noreply.github.com> Date: Mon, 11 Oct 2021 14:43:43 -0400 Subject: [PATCH] feat(sdk): Update cloudpickle to 2.0.0 (fixes #6699) (#6703) Co-authored-by: Chen Sun --- sdk/RELEASE.md | 1 + sdk/python/requirements.in | 2 +- sdk/python/requirements.txt | 51 +++++++++++++++++-------------------- sdk/python/setup.py | 2 +- 4 files changed, 27 insertions(+), 29 deletions(-) diff --git a/sdk/RELEASE.md b/sdk/RELEASE.md index c6c3b5fa8a4..98efc8443d8 100644 --- a/sdk/RELEASE.md +++ b/sdk/RELEASE.md @@ -20,6 +20,7 @@ * Update v2 yaml format [\#6661](https://github.com/kubeflow/pipelines/pull/6661) * Depends on `typing-extensions>=3.7.4,<4; python_version<"3.9"` [\#6683](https://github.com/kubeflow/pipelines/pull/6683) * Depends on `click>=7.1.2,<9` [\#6691](https://github.com/kubeflow/pipelines/pull/6691) +* Depends on `cloudpickle>=2.0.0,<3` [\#6703](https://github.com/kubeflow/pipelines/pull/6703) ## Documentation Updates diff --git a/sdk/python/requirements.in b/sdk/python/requirements.in index 98f0a2dd84e..29b8374a863 100644 --- a/sdk/python/requirements.in +++ b/sdk/python/requirements.in @@ -6,7 +6,7 @@ Deprecated>=1.2.7,<2 # kfp.components -cloudpickle>=1.3.0,<2 +cloudpickle>=2.0.0,<3 strip-hints>=0.1.8,<1 docstring-parser>=0.7.3,<1 uritemplate>=3.0.1,<4 diff --git a/sdk/python/requirements.txt b/sdk/python/requirements.txt index 9deb19cb49d..bc368b04045 100644 --- a/sdk/python/requirements.txt +++ b/sdk/python/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile +# This file is autogenerated by pip-compile with python 3.9 # To update, run: # # pip-compile --no-emit-index-url requirements.in @@ -8,36 +8,32 @@ absl-py==0.11.0 # via -r requirements.in attrs==21.2.0 # via jsonschema -cachetools==4.2.2 +cachetools==4.2.4 # via google-auth certifi==2021.5.30 # via # kfp-server-api # kubernetes # requests -cffi==1.14.6 - # via google-crc32c charset-normalizer==2.0.6 # via requests click>=7.1.2,<9 # via -r requirements.in -cloudpickle==1.6.0 +cloudpickle==2.0.0 # via -r requirements.in deprecated==1.2.13 # via -r requirements.in -docstring-parser==0.10 +docstring-parser==0.11 # via -r requirements.in fire==0.4.0 # via -r requirements.in -google-api-core==1.31.2 +google-api-core==1.31.3 # via # google-api-python-client # google-cloud-core # google-cloud-storage google-api-python-client==1.12.8 # via -r requirements.in -google-auth-httplib2==0.1.0 - # via google-api-python-client google-auth==1.35.0 # via # -r requirements.in @@ -47,17 +43,19 @@ google-auth==1.35.0 # google-cloud-core # google-cloud-storage # kubernetes -google-cloud-core==2.0.0 +google-auth-httplib2==0.1.0 + # via google-api-python-client +google-cloud-core==2.1.0 # via google-cloud-storage -google-cloud-storage==1.42.2 +google-cloud-storage==1.42.3 # via -r requirements.in -google-crc32c==1.1.2 +google-crc32c==1.3.0 # via google-resumable-media -google-resumable-media==2.0.2 +google-resumable-media==2.0.3 # via google-cloud-storage googleapis-common-protos==1.53.0 # via google-api-core -httplib2==0.19.1 +httplib2==0.20.1 # via # google-api-python-client # google-auth-httplib2 @@ -65,7 +63,7 @@ idna==3.2 # via requests jsonschema==3.2.0 # via -r requirements.in -kfp-pipeline-spec==0.1.11 +kfp-pipeline-spec==0.1.12 # via -r requirements.in kfp-server-api==1.7.0 # via -r requirements.in @@ -75,20 +73,18 @@ oauthlib==3.1.1 # via requests-oauthlib packaging==21.0 # via google-api-core -protobuf==3.18.0 +protobuf==3.17.3 # via # google-api-core # google-cloud-storage # googleapis-common-protos # kfp-pipeline-spec -pyasn1-modules==0.2.8 - # via google-auth pyasn1==0.4.8 # via # pyasn1-modules # rsa -pycparser==2.20 - # via cffi +pyasn1-modules==0.2.8 + # via google-auth pydantic==1.8.2 # via -r requirements.in pyparsing==2.4.7 @@ -101,16 +97,12 @@ python-dateutil==2.8.2 # via # kfp-server-api # kubernetes -pytz==2021.1 +pytz==2021.3 # via google-api-core pyyaml==5.4.1 # via # -r requirements.in # kubernetes -requests-oauthlib==1.3.0 - # via kubernetes -requests-toolbelt==0.9.1 - # via -r requirements.in requests==2.26.0 # via # google-api-core @@ -118,6 +110,10 @@ requests==2.26.0 # kubernetes # requests-oauthlib # requests-toolbelt +requests-oauthlib==1.3.0 + # via kubernetes +requests-toolbelt==0.9.1 + # via -r requirements.in rsa==4.7.2 # via google-auth six==1.16.0 @@ -132,6 +128,7 @@ six==1.16.0 # jsonschema # kfp-server-api # kubernetes + # protobuf # python-dateutil strip-hints==0.1.10 # via -r requirements.in @@ -145,7 +142,7 @@ uritemplate==3.0.1 # via # -r requirements.in # google-api-python-client -urllib3==1.26.6 +urllib3==1.26.7 # via # kfp-server-api # kubernetes @@ -154,7 +151,7 @@ websocket-client==1.2.1 # via kubernetes wheel==0.37.0 # via strip-hints -wrapt==1.12.1 +wrapt==1.13.1 # via deprecated # The following packages are considered to be unsafe in a requirements file: diff --git a/sdk/python/setup.py b/sdk/python/setup.py index b3922c81434..3d8ecd88229 100644 --- a/sdk/python/setup.py +++ b/sdk/python/setup.py @@ -34,7 +34,7 @@ 'google-api-python-client>=1.7.8,<2', 'google-auth>=1.6.1,<2', 'requests-toolbelt>=0.8.0,<1', - 'cloudpickle>=1.3.0,<2', + 'cloudpickle>=2.0.0,<3', # Update the upper version whenever a new major version of the # kfp-server-api package is released. # Update the lower version when kfp sdk depends on new apis/fields in