From d233ed7a6344c50070aebe6ff0454ff8f5a30f36 Mon Sep 17 00:00:00 2001 From: RaviTeja Gorijala Date: Wed, 19 Oct 2022 18:32:21 +0000 Subject: [PATCH] Update version --- WORKSPACE | 6 +++--- oss_scripts/configure.sh | 8 ++++---- oss_scripts/pip_package/setup.py | 8 ++++---- tensorflow_text/__init__.py | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 711fd3b5b..f5afec1a6 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -70,10 +70,10 @@ http_archive( http_archive( name = "org_tensorflow", - strip_prefix = "tensorflow-2.9.0", - sha256 = "fd6fae5aa9014cb898c1cca1e44158d0d0ba5cbe9385eab50a1c3f62660fa101", + strip_prefix = "tensorflow-2.11.0-rc1", + sha256 = "9fa9d2624ade529d9f5ac3b427bc16b6aaaea2ff2d436631112dd451b90fa3de", urls = [ - "https://github.com/tensorflow/tensorflow/archive/v2.9.0.zip" + "https://github.com/tensorflow/tensorflow/archive/v2.11.0-rc1.zip" ], ) diff --git a/oss_scripts/configure.sh b/oss_scripts/configure.sh index cce077ce6..5ada70295 100755 --- a/oss_scripts/configure.sh +++ b/oss_scripts/configure.sh @@ -48,10 +48,10 @@ else if [[ x"$(arch)" == x"arm64" ]]; then pip install tensorflow-macos==2.9.0 else - pip install tensorflow==2.9.0 + pip install tensorflow==2.11.0rc1 fi else - pip install tensorflow==2.9.0 + pip install tensorflow==2.11.0rc1 fi fi @@ -61,10 +61,10 @@ if is_windows; then 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.11/.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.11/.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 d68167232..0f6076ba3 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.9.0' +project_version = '2.11.0-rc0' class BinaryDistribution(Distribution): @@ -73,12 +73,12 @@ def finalize_options(self): cmdclass={'install': InstallPlatlib}, distclass=BinaryDistribution, install_requires=[ - 'tensorflow>=2.9.0, <2.10; platform_machine != "arm64" or platform_system != "Darwin"', - 'tensorflow-macos>=2.9.0, <2.10; platform_machine == "arm64" and platform_system == "Darwin"', + 'tensorflow>=2.11.0rc0, <2.12; platform_machine != "arm64" or platform_system != "Darwin"', + 'tensorflow-macos>=2.11.0rc0, <2.12; platform_machine == "arm64" and platform_system == "Darwin"', 'tensorflow_hub>=0.8.0', ], extras_require={ - 'tensorflow_cpu': ['tensorflow-cpu>=2.9.0, <2.10',], + 'tensorflow_cpu': ['tensorflow-cpu>=2.11.0rc0, <2.12',], 'tests': [ 'absl-py', 'pytest', diff --git a/tensorflow_text/__init__.py b/tensorflow_text/__init__.py index cce656623..07589f3f1 100644 --- a/tensorflow_text/__init__.py +++ b/tensorflow_text/__init__.py @@ -99,4 +99,4 @@ ] remove_undocumented(__name__, _allowed_symbols) -__version__ = "2.9.0" +__version__ = "2.11.0-rc0"