Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
no-reply committed Mar 24, 2023
1 parent e8b5125 commit 1c5ab77
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ http_archive(

http_archive(
name = "org_tensorflow",
strip_prefix = "tensorflow-2.12.0-rc0",
sha256 = "44cc6687fea2fedb19c0fb27cb48bddc21b11e489bc99ebfca57b28f7aee8e5a",
strip_prefix = "tensorflow-2.12.0",
sha256 = "af0584df1a4e28763c32c218b39f8c4f3784fabb6a8859b00c02d743864dc191",
urls = [
"https://github.com/tensorflow/tensorflow/archive/v2.12.0-rc0.zip"
"https://github.com/tensorflow/tensorflow/archive/v2.12.0.zip"
],
)

Expand Down
4 changes: 2 additions & 2 deletions oss_scripts/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ else
if [[ x"$(arch)" == x"arm64" ]]; then
pip install tensorflow-macos==2.9.0
else
pip install tensorflow==2.12.0rc0
pip install tensorflow==2.12.0
fi
else
pip install tensorflow==2.12.0rc0
pip install tensorflow==2.12.0
fi
fi

Expand Down
8 changes: 4 additions & 4 deletions oss_scripts/pip_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from setuptools.dist import Distribution

project_name = 'tensorflow-text'
project_version = '2.12.0-rc0'
project_version = '2.12.0'


class BinaryDistribution(Distribution):
Expand Down Expand Up @@ -73,12 +73,12 @@ def finalize_options(self):
cmdclass={'install': InstallPlatlib},
distclass=BinaryDistribution,
install_requires=[
'tensorflow>=2.12.0rc0, <2.13; platform_machine != "arm64" or platform_system != "Darwin"',
'tensorflow-macos>=2.12.0rc0, <2.13; platform_machine == "arm64" and platform_system == "Darwin"',
'tensorflow>=2.12.0, <2.13; platform_machine != "arm64" or platform_system != "Darwin"',
'tensorflow-macos>=2.12.0, <2.13; platform_machine == "arm64" and platform_system == "Darwin"',
'tensorflow_hub>=0.8.0',
],
extras_require={
'tensorflow_cpu': ['tensorflow-cpu>=2.12.0rc0, <2.13',],
'tensorflow_cpu': ['tensorflow-cpu>=2.12.0, <2.13',],
'tests': [
'absl-py',
'pytest',
Expand Down
2 changes: 1 addition & 1 deletion tensorflow_text/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@
]

remove_undocumented(__name__, _allowed_symbols)
__version__ = "2.12.0-rc0"
__version__ = "2.12.0"

0 comments on commit 1c5ab77

Please sign in to comment.