chore(sdk): enforce lower and upper bounds on all dependencies. (#5258)

* Update setup.py

* Update requirements.in
This commit is contained in:
Chen Sun 2021-03-14 17:57:47 -07:00 committed by GitHub
parent 3cdb1d9954
commit 6502a8a49a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 31 deletions

View File

@ -3,31 +3,31 @@
# ../../backend/update_requirements.sh python:3.7 < requirements.in > requirements.txt
# Also, this file should be in-sync with ./setup.py REQUIRES.
Deprecated
Deprecated>=1.2.7,<2
# kfp.components
cloudpickle
strip-hints
docstring-parser>=0.7.3
cloudpickle>=1.3.0,<2
strip-hints>=0.1.8,<1
docstring-parser>=0.7.3,<1
# kfp.dsl
PyYAML>=5.3
jsonschema>=3.0.1
kubernetes>=8.0.0, <12.0.0
PyYAML>=5.3,<6
jsonschema>=3.0.1,<4
kubernetes>=8.0.0,<12.0.0
# kfp.Client
kfp-server-api>=1.1.2, <2.0.0
kfp-server-api>=1.1.2,<2.0.0
# kfp.Client GCP auth
google-cloud-storage>=1.13.0
google-auth>=1.6.1
requests_toolbelt>=0.8.0
google-cloud-storage>=1.13.0,<2
google-auth>=1.6.1,<2
requests-toolbelt>=0.8.0,<1
# CLI
tabulate
click
tabulate>=0.8.6,<1
click>=7.1.1,<8
# kfp.v2
absl-py>=0.9,<=0.11
kfp-pipeline-spec>=0.1.5, <0.2.0
fire>=0.3.1
kfp-pipeline-spec>=0.1.5,<0.2.0
fire>=0.3.1,<1

View File

@ -23,27 +23,27 @@ NAME = 'kfp'
# accordingly.
REQUIRES = [
'absl-py>=0.9,<=0.11',
'PyYAML>=5.3',
'google-cloud-storage>=1.13.0',
'kubernetes>=8.0.0, <12.0.0',
'google-auth>=1.6.1',
'requests_toolbelt>=0.8.0',
'cloudpickle',
'PyYAML>=5.3,<6',
'google-cloud-storage>=1.13.0,<2',
'kubernetes>=8.0.0,<12.0.0',
'google-auth>=1.6.1,<2',
'requests-toolbelt>=0.8.0,<1',
'cloudpickle>=1.3.0,<2',
# 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
# kfp-server-api.
# Note, please also update ./requirements.in
'kfp-server-api>=1.1.2, <2.0.0',
'jsonschema >= 3.0.1',
'tabulate',
'click',
'Deprecated',
'strip-hints',
'docstring-parser>=0.7.3',
'kfp-pipeline-spec>=0.1.5, <0.2.0',
'fire>=0.3.1',
'protobuf'
'kfp-server-api>=1.1.2,<2.0.0',
'jsonschema>=3.0.1,<4',
'tabulate>=0.8.6,<1',
'click>=7.1.1,<8',
'Deprecated>=1.2.7,<2',
'strip-hints>=0.1.8,<1',
'docstring-parser>=0.7.3,<1',
'kfp-pipeline-spec>=0.1.5,<0.2.0',
'fire>=0.3.1,<1',
'protobuf>=3.13.0,<4'
]
TESTS_REQUIRE = [