diff --git a/oss_scripts/configure.sh b/oss_scripts/configure.sh index 26b26d299..7135edd3b 100755 --- a/oss_scripts/configure.sh +++ b/oss_scripts/configure.sh @@ -29,7 +29,7 @@ if [[ $(pip show tensorflow) == *tensorflow* ]] || [[ $(pip show tf-nightly) == echo 'Using installed tensorflow.' else echo 'Installing tensorflow.' - pip install tensorflow==2.0.0 + pip install tensorflow==1.15.0 fi osname="$(uname -s)" diff --git a/oss_scripts/pip_package/setup.py b/oss_scripts/pip_package/setup.py index 68da8d037..a9b3b9646 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.0.0-rc0' +project_version = '1.15.0-rc0' class BinaryDistribution(Distribution): @@ -73,11 +73,11 @@ def finalize_options(self): cmdclass={'install': InstallPlatlib}, distclass=BinaryDistribution, install_requires=[ - 'tensorflow>=2.0.0, <2.1', + 'tensorflow>=1.15.0, <1.16', ], extras_require={ 'tensorflow_gpu': [ - 'tensorflow-gpu>=2.0.0, <2.1', + 'tensorflow-gpu>=1.15.0, <1.16', ], 'tests': [ 'absl-py',