diff --git a/tensorflow/tools/ci_build/release/common.sh b/tensorflow/tools/ci_build/release/common.sh index 12bdc2ccc9b..41c28cc7713 100644 --- a/tensorflow/tools/ci_build/release/common.sh +++ b/tensorflow/tools/ci_build/release/common.sh @@ -144,8 +144,8 @@ function install_ubuntu_16_pip_deps { "${PIP_CMD}" install --user 'gast == 0.4.0' # Finally, install tensorboard and estimator # Note that here we want the latest version that matches (b/156523241) - "${PIP_CMD}" install --user --upgrade --force-reinstall 'tb-nightly ~= 2.4.0.a' - "${PIP_CMD}" install --user --upgrade --force-reinstall 'tensorflow_estimator ~= 2.3.0' + "${PIP_CMD}" install --user --upgrade 'tb-nightly ~= 2.4.0.a' + "${PIP_CMD}" install --user --upgrade 'tensorflow_estimator ~= 2.4.0' # Test dependencies "${PIP_CMD}" install --user 'grpcio ~= 1.34.0' "${PIP_CMD}" install --user 'portpicker ~= 1.3.1' @@ -201,8 +201,8 @@ function install_ubuntu_16_python_pip_deps { ${PIP_CMD} install --user 'gast == 0.4.0' # Finally, install tensorboard and estimator # Note that here we want the latest version that matches (b/156523241) - ${PIP_CMD} install --user --upgrade --force-reinstall 'tb-nightly ~= 2.4.0.a' - ${PIP_CMD} install --user --upgrade --force-reinstall 'tensorflow_estimator ~= 2.3.0' + ${PIP_CMD} install --user --upgrade 'tb-nightly ~= 2.4.0.a' + ${PIP_CMD} install --user --upgrade 'tensorflow_estimator ~= 2.4.0' # Test dependencies ${PIP_CMD} install --user 'grpcio ~= 1.34.0' ${PIP_CMD} install --user 'portpicker ~= 1.3.1' @@ -244,8 +244,8 @@ function install_macos_pip_deps { ${PIP_CMD} install 'gast == 0.4.0' # Finally, install tensorboard and estimator # Note that here we want the latest version that matches (b/156523241) - ${PIP_CMD} install --upgrade --force-reinstall 'tb-nightly ~= 2.4.0.a' - ${PIP_CMD} install --upgrade --force-reinstall 'tensorflow_estimator ~= 2.3.0' + ${PIP_CMD} install --upgrade 'tb-nightly ~= 2.4.0.a' + ${PIP_CMD} install --upgrade 'tensorflow_estimator ~= 2.4.0' # Test dependencies ${PIP_CMD} install 'grpcio ~= 1.34.0' ${PIP_CMD} install 'portpicker ~= 1.3.1' @@ -291,8 +291,8 @@ function install_macos_pip_deps_no_venv { ${PIP_CMD} install 'gast == 0.4.0' --user # Finally, install tensorboard and estimator # Note that here we want the latest version that matches (b/156523241) - ${PIP_CMD} install --upgrade --force-reinstall 'tb-nightly ~= 2.4.0.a' --user - ${PIP_CMD} install --upgrade --force-reinstall 'tensorflow_estimator ~= 2.3.0' --user + ${PIP_CMD} install --upgrade 'tb-nightly ~= 2.4.0.a' --user + ${PIP_CMD} install --upgrade 'tensorflow_estimator ~= 2.4.0' --user # Test dependencies ${PIP_CMD} install 'grpcio ~= 1.34.0' --user ${PIP_CMD} install 'portpicker ~= 1.3.1' --user diff --git a/tensorflow/tools/ci_build/release/common_win.bat b/tensorflow/tools/ci_build/release/common_win.bat index 75827f37e6a..fe52b217b55 100644 --- a/tensorflow/tools/ci_build/release/common_win.bat +++ b/tensorflow/tools/ci_build/release/common_win.bat @@ -50,8 +50,8 @@ SET PATH=%PATH%;C:\%PYTHON_DIRECTORY% %PY_EXE% -m pip install "gast == 0.4.0" @REM Finally, install tensorboard and estimator @REM Note that here we want the latest version that matches (b/156523241) -%PY_EXE% -m pip install --upgrade --force-reinstall "tb-nightly ~= 2.4.0.a" -%PY_EXE% -m pip install --upgrade --force-reinstall "tensorflow_estimator ~= 2.3.0" +%PY_EXE% -m pip install --upgrade "tb-nightly ~= 2.4.0.a" +%PY_EXE% -m pip install --upgrade "tensorflow_estimator ~= 2.4.0" @REM Test dependencies %PY_EXE% -m pip install "grpcio ~= 1.34.0" %PY_EXE% -m pip install "portpicker ~= 1.3.1" diff --git a/tensorflow/tools/pip_package/setup.py b/tensorflow/tools/pip_package/setup.py index 468a9c3511b..07ad102d15c 100644 --- a/tensorflow/tools/pip_package/setup.py +++ b/tensorflow/tools/pip_package/setup.py @@ -101,7 +101,7 @@ REQUIRED_PACKAGES = [ # They are updated during the release process # When updating these, please also update the nightly versions below 'tensorboard ~= 2.4', - 'tensorflow_estimator ~= 2.3.0', + 'tensorflow_estimator ~= 2.4.0', ]