diff --git a/WORKSPACE b/WORKSPACE index 740bdfa7a..085f3c522 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -56,10 +56,10 @@ http_archive( http_archive( name = "org_tensorflow", - strip_prefix = "tensorflow-9d2929b69fdddc1e8d5de70a706556b15d8ed37b", - sha256 = "a4f965340ea11d49c8897df59a24822c2b367e4cebb5908b7ca8c3b607097af9", + strip_prefix = "tensorflow-2.17.0-rc0", + sha256 = "5f1821b0119c723bd422af0977bb5855bf49e128537a3f490117578126fa1ab1", urls = [ - "https://github.com/tensorflow/tensorflow/archive/9d2929b69fdddc1e8d5de70a706556b15d8ed37b.zip" + "https://github.com/tensorflow/tensorflow/archive/v2.17.0-rc0.zip" ], ) diff --git a/oss_scripts/configure.sh b/oss_scripts/configure.sh index 7ad642449..6a3453ea5 100755 --- a/oss_scripts/configure.sh +++ b/oss_scripts/configure.sh @@ -43,18 +43,18 @@ else if [[ x"$(arch)" == x"arm64" ]]; then pip install tensorflow-macos==2.16.1 else - pip install tensorflow==2.16.1 + pip install tensorflow==2.17.0rc0 fi else - pip install tensorflow==2.16.1 + pip install tensorflow==2.17.0rc0 fi fi # Copy the current bazelversion of TF. -curl https://raw.githubusercontent.com/tensorflow/tensorflow/master/.bazelversion -o .bazelversion +curl https://raw.githubusercontent.com/tensorflow/tensorflow/r2.17/.bazelversion -o .bazelversion # Copy the building configuration of TF. -curl https://raw.githubusercontent.com/tensorflow/tensorflow/master/.bazelrc -o .bazelrc +curl https://raw.githubusercontent.com/tensorflow/tensorflow/r2.17/.bazelrc -o .bazelrc # This line breaks Windows builds, so we remove it. sed -i -e 's/build --noincompatible_remove_legacy_whole_archive//' .bazelrc diff --git a/oss_scripts/pip_package/setup.py b/oss_scripts/pip_package/setup.py index fb4e8aecd..27511f9e2 100644 --- a/oss_scripts/pip_package/setup.py +++ b/oss_scripts/pip_package/setup.py @@ -32,7 +32,7 @@ from setuptools.dist import Distribution project_name = 'tensorflow-text' -project_version = '2.16.1' +project_version = '2.17.0-rc0' class BinaryDistribution(Distribution): diff --git a/tensorflow_text/__init__.py b/tensorflow_text/__init__.py index 5b0777fc0..2a5a539ba 100644 --- a/tensorflow_text/__init__.py +++ b/tensorflow_text/__init__.py @@ -110,4 +110,4 @@ ] remove_undocumented(__name__, _allowed_symbols) -__version__ = "2.13.0" +__version__ = "2.17.0-rc0"