Skip to content

Commit

Permalink
chore(sdk): relax typing-extensions version to >=3.7.4,<4. Fixes #6651
Browse files Browse the repository at this point in the history
 (#6683)

* relax typing-extension version

* add release note
  • Loading branch information
chensun authored Oct 6, 2021
1 parent 82ed66e commit 7b4f283
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
1 change: 1 addition & 0 deletions sdk/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
## Bug Fixes and Other Changes

* Fix executor getting None as value when float 0 is passed in. [\#6682](https://github.com/kubeflow/pipelines/pull/6682)
* Depends on `typing-extensions>=3.7.4,<4; python_version<"3.9"` [\#6683](https://github.com/kubeflow/pipelines/pull/6683)

## Documentation Updates

Expand Down
6 changes: 3 additions & 3 deletions sdk/python/requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# After any updates to this file, requirements.txt should be regenerated running
# the following in this folder:
# pip-compile requirements.in
# pip-compile --no-emit-index-url requirements.in
# Also, this file should be in-sync with ./setup.py REQUIRES.

Deprecated>=1.2.7,<2
Expand Down Expand Up @@ -33,6 +33,6 @@ absl-py>=0.9,<=0.11
kfp-pipeline-spec>=0.1.11,<0.2.0
fire>=0.3.1,<1
google-api-python-client>=1.7.8,<2
dataclasses>=0.8,<1; python_version<"3.7"
pydantic>=1.8.2,<2
typing-extensions>=3.10.0.2,<4
dataclasses>=0.8,<1; python_version<"3.7"
typing-extensions>=3.7.4,<4; python_version<"3.9"
22 changes: 10 additions & 12 deletions sdk/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with python 3.9
# This file is autogenerated by pip-compile
# To update, run:
#
# pip-compile --no-emit-index-url requirements.in
Expand Down Expand Up @@ -36,6 +36,8 @@ google-api-core==1.31.2
# 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
Expand All @@ -45,8 +47,6 @@ google-auth==1.35.0
# google-cloud-core
# google-cloud-storage
# kubernetes
google-auth-httplib2==0.1.0
# via google-api-python-client
google-cloud-core==2.0.0
# via google-cloud-storage
google-cloud-storage==1.42.2
Expand Down Expand Up @@ -81,12 +81,12 @@ protobuf==3.18.0
# 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
pyasn1-modules==0.2.8
# via google-auth
pycparser==2.20
# via cffi
pydantic==1.8.2
Expand All @@ -107,17 +107,17 @@ 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
# google-cloud-storage
# 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
Expand All @@ -140,9 +140,7 @@ tabulate==0.8.9
termcolor==1.1.0
# via fire
typing-extensions==3.10.0.2
# via
# -r requirements.in
# pydantic
# via pydantic
uritemplate==3.0.1
# via
# -r requirements.in
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
'fire>=0.3.1,<1',
'protobuf>=3.13.0,<4',
'uritemplate>=3.0.1,<4',
'pydantic>=1.8.2,<2',
# Standard library backports
'dataclasses;python_version<"3.7"',
'typing-extensions>=3.10.0.2,<4;python_version<"3.9"',
'pydantic>=1.8.2,<2',
'typing-extensions>=3.7.4,<4;python_version<"3.9"',
]

TESTS_REQUIRE = [
Expand Down

0 comments on commit 7b4f283

Please sign in to comment.