From 93295e43d15fd2d755da7f16158a2484f416b864 Mon Sep 17 00:00:00 2001 From: Laxma Reddy Patlolla Date: Tue, 13 Feb 2024 16:45:38 -0500 Subject: [PATCH] Update setup.py --- official/pip_package/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/official/pip_package/setup.py b/official/pip_package/setup.py index 6257a689fb..fb4568ac30 100644 --- a/official/pip_package/setup.py +++ b/official/pip_package/setup.py @@ -61,9 +61,9 @@ def _get_requirements(is_nightly=False): if project_name == 'tf-models-nightly': install_requires, dependency_links = _get_requirements(is_nightly=True) - version_split = version.split(".") + version_split = version.split('.') version_split[1] = str(int(version_split[1]) + 1) - version = ".".join(version_split) + version = '.'.join(version_split) version += '.dev' + datetime.datetime.now().strftime('%Y%m%d') install_requires.append('tf-nightly') install_requires.append('tensorflow-text-nightly')