From a79a6ba8505f7ccb59febff449bfb712d2ae1868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ege=20u=C3=A7ak?= Date: Fri, 6 Sep 2024 22:54:56 +0200 Subject: [PATCH] chore(sdk): Loosening kubernetes dependency constraint (#11079) * Loosening kubernetes dependency constraint Signed-off-by: egeucak * added setuptools in test script Signed-off-by: egeucak --------- Signed-off-by: egeucak Signed-off-by: sefgsefg --- sdk/python/requirements.in | 2 +- sdk/python/requirements.txt | 67 ++++++++++--------- test/presubmit-test-kfp-kubernetes-library.sh | 2 +- 3 files changed, 36 insertions(+), 35 deletions(-) diff --git a/sdk/python/requirements.in b/sdk/python/requirements.in index b3428b7b256f..955d33cd83b9 100644 --- a/sdk/python/requirements.in +++ b/sdk/python/requirements.in @@ -17,7 +17,7 @@ kfp-pipeline-spec==0.3.0 # Update the lower version when kfp sdk depends on new apis/fields in # kfp-server-api. kfp-server-api>=2.0.0,<2.1.0 -kubernetes>=8.0.0,<27 +kubernetes>=8.0.0,<31 protobuf>=4.21.1,<5 PyYAML>=5.3,<7 requests-toolbelt>=0.8.0,<1 diff --git a/sdk/python/requirements.txt b/sdk/python/requirements.txt index 0ba3e543a7c4..ca52ccf1e2fa 100644 --- a/sdk/python/requirements.txt +++ b/sdk/python/requirements.txt @@ -1,105 +1,106 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.10 # by the following command: # # pip-compile --no-emit-index-url requirements.in # -cachetools==5.2.0 +cachetools==5.4.0 # via google-auth -certifi==2022.6.15 +certifi==2024.7.4 # via # kfp-server-api # kubernetes # requests -charset-normalizer==2.1.1 +charset-normalizer==3.3.2 # via requests click==8.1.3 # via -r requirements.in -docstring-parser==0.14.1 +docstring-parser==0.16 # via -r requirements.in -google-api-core==2.8.2 +google-api-core==2.19.1 # via # -r requirements.in # google-cloud-core # google-cloud-storage -google-auth==2.11.0 +google-auth==2.32.0 # via # -r requirements.in # google-api-core # google-cloud-core # google-cloud-storage # kubernetes -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage -google-cloud-storage==2.5.0 +google-cloud-storage==2.18.0 # via -r requirements.in google-crc32c==1.5.0 - # via google-resumable-media -google-resumable-media==2.3.3 + # via + # google-cloud-storage + # google-resumable-media +google-resumable-media==2.7.1 # via google-cloud-storage -googleapis-common-protos==1.56.4 +googleapis-common-protos==1.63.2 # via google-api-core -idna==3.3 +idna==3.7 # via requests kfp-pipeline-spec==0.3.0 # via -r requirements.in kfp-server-api==2.0.5 # via -r requirements.in -kubernetes==23.6.0 +kubernetes==30.1.0 # via -r requirements.in -oauthlib==3.2.0 - # via requests-oauthlib -protobuf==4.25.1 +oauthlib==3.2.2 + # via + # kubernetes + # requests-oauthlib +proto-plus==1.24.0 + # via google-api-core +protobuf==4.25.4 # via # -r requirements.in # google-api-core # googleapis-common-protos # kfp-pipeline-spec -pyasn1==0.4.8 + # proto-plus +pyasn1==0.6.0 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.0 # via google-auth -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # kfp-server-api # kubernetes -pyyaml==5.4.1 +pyyaml==6.0.1 # via # -r requirements.in # kubernetes -requests==2.28.1 +requests==2.32.3 # via # google-api-core # google-cloud-storage # kubernetes # requests-oauthlib # requests-toolbelt -requests-oauthlib==1.3.1 +requests-oauthlib==2.0.0 # via kubernetes -requests-toolbelt==0.9.1 +requests-toolbelt==0.10.1 # via -r requirements.in rsa==4.9 # via google-auth six==1.16.0 # via - # google-auth # kfp-server-api # kubernetes # python-dateutil -tabulate==0.8.10 - # via -r requirements.in -typing-extensions==4.5.0 ; python_version < "3.9" +tabulate==0.9.0 # via -r requirements.in -urllib3==1.26.12 +urllib3==1.26.19 # via # -r requirements.in # kfp-server-api # kubernetes # requests -websocket-client==1.4.0 +websocket-client==1.8.0 # via kubernetes - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/test/presubmit-test-kfp-kubernetes-library.sh b/test/presubmit-test-kfp-kubernetes-library.sh index 160bbf7e82aa..f197826ca223 100755 --- a/test/presubmit-test-kfp-kubernetes-library.sh +++ b/test/presubmit-test-kfp-kubernetes-library.sh @@ -16,7 +16,7 @@ source_root=$(pwd) pip install --upgrade pip -pip install wheel +pip install wheel setuptools pip install sdk/python sudo apt-get update && sudo apt-get install -y protobuf-compiler