Skip to content

Commit

Permalink
Updates kfp version range to use latest versions.
Browse files Browse the repository at this point in the history
Incompatibility issue with TF 2.6 was resolved at kfp 1.8.5[1].

[1] kubeflow/pipelines#6683

PiperOrigin-RevId: 423940549
  • Loading branch information
jiyongjung authored and tfx-copybara committed Jan 25, 2022
1 parent 51b30a4 commit 11a75ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* Depends on `absl-py>=0.9,<2.0.0`.
* Depends on
`tensorflow>=1.15.5,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,<3`.
* Depends on `kfp>=1.8.5,<2'`.
* Pusher now copies the `saved_model.pb` file at last to prevent loading
SavedModel on invalid (partially available) directory state.
* Always disable caching for exit handlers in Kubeflow V2 runner to
Expand Down
5 changes: 1 addition & 4 deletions tfx/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,7 @@ def make_extra_packages_airflow():
def make_extra_packages_kfp():
"""Prepare extra packages needed for Kubeflow Pipelines orchestrator."""
return [
# kfp==1.7.2 uses undefined field when updating a pipeline; b/197906254.
# TODO(b/200220058): Unblock upper bound after the version issue of
# `typing-extensions` with TF 2.6 is resolved.
'kfp>=1.6.1,!=1.7.2,<1.8.2',
'kfp>=1.8.5,<2',
'kfp-pipeline-spec>=0.1.10,<0.2',
]

Expand Down

0 comments on commit 11a75ad

Please sign in to comment.