Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
no-reply committed May 16, 2023
1 parent 4887f20 commit 95360eb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 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",
sha256 = "af0584df1a4e28763c32c218b39f8c4f3784fabb6a8859b00c02d743864dc191",
strip_prefix = "tensorflow-2.13.0-rc0",
sha256 = "d6aefd6bc65ad2cab81e0bdf0e6be6b0e9d4a439580ed21d9c0defdd1334295e",
urls = [
"https://github.com/tensorflow/tensorflow/archive/v2.12.0.zip"
"https://github.com/tensorflow/tensorflow/archive/v2.13.0-rc0.zip"
],
)

Expand Down
8 changes: 4 additions & 4 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.0
pip install tensorflow==2.13.0rc0
fi
else
pip install tensorflow==2.12.0
pip install tensorflow==2.13.0rc0
fi
fi

Expand All @@ -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.13/.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.13/.bazelrc -o .bazelrc
# This line breaks Windows builds, so we remove it.
sed -i -e 's/build --noincompatible_remove_legacy_whole_archive//' .bazelrc

Expand Down
6 changes: 3 additions & 3 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'
project_version = '2.13.0-rc0'


class BinaryDistribution(Distribution):
Expand Down Expand Up @@ -74,11 +74,11 @@ def finalize_options(self):
distclass=BinaryDistribution,
install_requires=[
(
'tensorflow>=2.12.0, <2.13; platform_machine != "arm64" or'
'tensorflow>=2.13.0rc0, <2.14; platform_machine != "arm64" or'
' platform_system != "Darwin"'
),
(
'tensorflow-macos>=2.12.0, <2.13; platform_machine == "arm64" and'
'tensorflow-macos>=2.13.0rc0, <2.14; platform_machine == "arm64" and'
' platform_system == "Darwin"'
),
'tensorflow_hub>=0.8.0',
Expand Down
2 changes: 1 addition & 1 deletion tensorflow_text/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@
]

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

0 comments on commit 95360eb

Please sign in to comment.