Skip to content

Commit

Permalink
chore(sdk): Loosening kubernetes dependency constraint (kubeflow#11079)
Browse files Browse the repository at this point in the history
* Loosening kubernetes dependency constraint

Signed-off-by: egeucak <[email protected]>

* added setuptools in test script

Signed-off-by: egeucak <[email protected]>

---------

Signed-off-by: egeucak <[email protected]>
Signed-off-by: sefgsefg <[email protected]>
  • Loading branch information
egeucak authored and sefgsefg committed Sep 18, 2024
1 parent 38b1505 commit a79a6ba
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 35 deletions.
2 changes: 1 addition & 1 deletion sdk/python/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
67 changes: 34 additions & 33 deletions sdk/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion test/presubmit-test-kfp-kubernetes-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a79a6ba

Please sign in to comment.