diff --git a/WORKSPACE b/WORKSPACE index b5b90f39b..b8d0f7640 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -4,11 +4,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "icu", - strip_prefix = "icu-release-64-2", - sha256 = "dfc62618aa4bd3ca14a3df548cd65fe393155edd213e49c39f3a30ccd618fc27", + strip_prefix = "icu-release-77-1", + sha256 = "e424ba5282d95ad38b52639a08fb82164f0b0cbd7f17b53ae16bf14f8541855f", urls = [ - "https://storage.googleapis.com/mirror.tensorflow.org/github.com/unicode-org/icu/archive/release-64-2.zip", - "https://github.com/unicode-org/icu/archive/release-64-2.zip", + "https://storage.googleapis.com/mirror.tensorflow.org/github.com/unicode-org/icu/archive/release-77-1.zip", + "https://github.com/unicode-org/icu/archive/release-77-1.zip", ], build_file = "//third_party/icu:BUILD.bzl", patches = ["//third_party/icu:udata.patch"], diff --git a/oss_scripts/pip_package/requirements.in b/oss_scripts/pip_package/requirements.in index 9cc9f75d0..d976e5656 100644 --- a/oss_scripts/pip_package/requirements.in +++ b/oss_scripts/pip_package/requirements.in @@ -1,8 +1,7 @@ setuptools==70.0.0 dm-tree==0.1.8 # Limit for macos support. numpy -protobuf==4.25.3 # b/397977335 - Fix crash on python 3.9, 3.10. -tensorflow +tensorflow==2.20 tf-keras tensorflow-datasets tensorflow-metadata diff --git a/oss_scripts/pip_package/setup.py b/oss_scripts/pip_package/setup.py index 4b7422c37..257846be2 100644 --- a/oss_scripts/pip_package/setup.py +++ b/oss_scripts/pip_package/setup.py @@ -88,12 +88,12 @@ def finalize_options(self): distclass=BinaryDistribution, install_requires=[ ( - 'tensorflow>=2.18.0, <2.19', + 'tensorflow==2.20', ), ], extras_require={ 'tensorflow_cpu': [ - 'tensorflow-cpu>=2.18.0, <2.19', + 'tensorflow-cpu==2.20', ], 'tests': [ 'absl-py',