Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
rtg0795 committed Feb 26, 2024
1 parent daf770b commit 23e82b4
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 @@ -58,10 +58,10 @@ http_archive(
name = "org_tensorflow",
patch_args = ["-p1"],
patches = ["//third_party/tensorflow:tf.patch"],
strip_prefix = "tensorflow-d17c801006947b240ec4b8caf232c39b6a24718a",
sha256 = "1a32ed7b5ea090db114008ea382c1e1beda622ffd4c62582f2f906cb10ee6290",
strip_prefix = "tensorflow-2.16.0-rc0",
sha256 = "64b885703422a93b0ed3112d93b6070dab9a94bcdd88755b2dc83bb9a8d102b5",
urls = [
"https://github.com/tensorflow/tensorflow/archive/d17c801006947b240ec4b8caf232c39b6a24718a.zip"
"https://github.com/tensorflow/tensorflow/archive/v2.16.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.13.0
else
pip install tensorflow==2.13.0
pip install tensorflow==2.16.0rc0
fi
else
pip install tensorflow==2.13.0
pip install tensorflow==2.16.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.16/.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.16/.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.13.0'
project_version = '2.16.0-rc0'


class BinaryDistribution(Distribution):
Expand Down Expand Up @@ -74,11 +74,11 @@ def finalize_options(self):
distclass=BinaryDistribution,
install_requires=[
(
'tensorflow>=2.15.0, <2.16; platform_machine != "arm64" or'
'tensorflow>=2.16.0rc0, <2.17; platform_machine != "arm64" or'
' platform_system != "Darwin"'
),
(
'tensorflow-macos>=2.15.0, <2.16; platform_machine == "arm64" and'
'tensorflow-macos>=2.16.0rc0, <2.17; platform_machine == "arm64" and'
' platform_system == "Darwin"'
),
],
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.13.0"
__version__ = "2.16.0-rc0"

0 comments on commit 23e82b4

Please sign in to comment.