Skip to content

Commit

Permalink
fix(sdk): require google-api-core>=1.31.5, >=2.3.2 (#7377)
Browse files Browse the repository at this point in the history
* require google-api-core>=1.31.5, >=2.3.2

* add release note
  • Loading branch information
chensun authored Mar 4, 2022
1 parent b693909 commit 7f67130
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
1 change: 1 addition & 0 deletions sdk/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* Fix importer not using correct output artifact type [\#7235](https://github.com/kubeflow/pipelines/pull/7235)
* Add verify_ssl for Kubeflow client [\#7174](https://github.com/kubeflow/pipelines/pull/7174)
* Depends on `typing-extensions>=3.7.4,<5; python_version<"3.9"` [\#7288](https://github.com/kubeflow/pipelines/pull/7288)
* Depends on `google-api-core>=1.31.5, >=2.3.2` [\#7377](https://github.com/kubeflow/pipelines/pull/7377)

## Documentation Updates

Expand Down
1 change: 1 addition & 0 deletions sdk/python/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ kubernetes>=8.0.0,<19
kfp-server-api>=1.1.2,<2.0.0

# kfp.Client GCP auth
google-api-core>=1.31.5,<3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0
google-cloud-storage>=1.20.0,<2
google-auth>=1.6.1,<3
requests-toolbelt>=0.8.0,<1
Expand Down
16 changes: 4 additions & 12 deletions sdk/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ docstring-parser==0.11
# via -r requirements.in
fire==0.4.0
# via -r requirements.in
google-api-core==1.31.3
google-api-core==2.6.0
# via
# -r requirements.in
# google-cloud-core
# google-cloud-storage
google-auth==1.35.0
Expand Down Expand Up @@ -62,8 +63,6 @@ kubernetes==18.20.0
# via -r requirements.in
oauthlib==3.1.1
# via requests-oauthlib
packaging==21.0
# via google-api-core
protobuf==3.17.3
# via
# google-api-core
Expand All @@ -78,16 +77,12 @@ pyasn1-modules==0.2.8
# via google-auth
pydantic==1.8.2
# via -r requirements.in
pyparsing==2.4.7
# via packaging
pyrsistent==0.18.0
# via jsonschema
python-dateutil==2.8.2
# via
# kfp-server-api
# kubernetes
pytz==2021.3
# via google-api-core
pyyaml==5.4.1
# via
# -r requirements.in
Expand All @@ -109,7 +104,6 @@ six==1.16.0
# via
# absl-py
# fire
# google-api-core
# google-auth
# google-cloud-storage
# jsonschema
Expand All @@ -125,10 +119,8 @@ termcolor==1.1.0
# via fire
typer==0.4.0
# via -r requirements.in
typing-extensions==3.10.0.2 ; python_version < "3.9"
# via
# -r requirements.in
# pydantic
typing-extensions==3.10.0.2
# via pydantic
uritemplate==3.0.1
# via -r requirements.in
urllib3==1.26.7
Expand Down
3 changes: 3 additions & 0 deletions sdk/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
REQUIRES = [
'absl-py>=0.9,<2',
'PyYAML>=5.3,<6',
# Pin google-api-core version for the bug fixing in 1.31.5
# https://github.com/googleapis/python-api-core/releases/tag/v1.31.5
'google-api-core>=1.31.5,<3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0',
# `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',
Expand Down

0 comments on commit 7f67130

Please sign in to comment.