Skip to content

Commit

Permalink
Do not depends on TF 2.7 'tensorflow>=1.15.2,!=2.0.*,!=2.1.*,!=2.2.*,…
Browse files Browse the repository at this point in the history
…!=2.3.*,!=2.4.*,!=2.5.*,<2.7'. (#4439)

PiperOrigin-RevId: 408252343
(cherry picked from commit 8e74ef5)

Co-authored-by: jiyongjung <jiyongjung@google.com>
  • Loading branch information
jay90099 and jiyongjung authored Nov 8, 2021
1 parent a5c1135 commit b55ab2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Version 1.3.2
# Version 1.3.3

## Major Features and Improvements

Expand All @@ -18,7 +18,7 @@

## Bug Fixes and Other Changes

* Fixed endless waiting for Vertex Trainer.
* Depends on `tensorflow>=1.15.2,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,<2.7`.

## Documentation Updates

Expand Down
6 changes: 5 additions & 1 deletion tfx/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ def make_required_install_packages():
'numpy>=1.16,<1.20',
'pyarrow>=1,<3',
'pyyaml>=3.12,<6',
'tensorflow>=1.15.2,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,<3',
# Keep the TF version same as TFT to help Pip version resolution.
# Pip might stuck in a TF 1.15 dependency although there is a working
# dependency set with TF 2.x without the sync.
'tensorflow' + select_constraint(
'>=1.15.2,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,<2.7'),
'tensorflow-hub>=0.9.0,<0.13',
'tensorflow-data-validation' + select_constraint(
default='>=1.3.0,<1.4.0',
Expand Down

0 comments on commit b55ab2e

Please sign in to comment.