Skip to content

Commit

Permalink
Updating Tensorflow dependency to >=2.15,<3.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 588906079
  • Loading branch information
tfx-copybara committed Dec 7, 2023
1 parent 6436694 commit 63ecbd6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

* Bump the macOS version on which TFX-BSL is tested to Ventura (previously was
Monterey).
* Bumps the pybind11 version to 2.11.1
* Bumps the pybind11 version to 2.11.1
* Depends on `tensorflow>=2.15,<3`

## Breaking Changes

Expand Down
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ http_archive(

# TODO(b/177694034): Follow the new format for tensorflow import after TF 2.5.
#here
TENSORFLOW_COMMIT = "1cb1a030a62b169d90d34c747ab9b09f332bf905" # 2.13.0
TENSORFLOW_COMMIT = "6887368d6d46223f460358323c4b76d61d1558a8" # 2.15.0
http_archive(
name = "org_tensorflow_no_deps",
sha256 = "a62eba23ebfcf1d6d2d3241f1629b99df576a9f726c439a97c3acd590e71fe62",
sha256 = "bb25fa4574e42ea4d452979e1d2ba3b86b39569d6b8106a846a238b880d73652",
strip_prefix = "tensorflow-%s" % TENSORFLOW_COMMIT,
urls = [
"https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/%s.tar.gz" % TENSORFLOW_COMMIT,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def select_constraint(default, nightly=None, git_master=None):
'pandas>=1.0,<2',
'protobuf>=3.20.3,<5',
'pyarrow>=10,<11',
'tensorflow>=2.13,<3',
'tensorflow>=2.15,<3',
'tensorflow-metadata' + select_constraint(
default='>=1.14.0,<1.15.0',
nightly='>=1.15.0.dev',
Expand Down

0 comments on commit 63ecbd6

Please sign in to comment.