Skip to content

Commit ab0402b

Browse files
authored
Merge pull request tensorflow#45353 from geetachavan1/cherrypicks_1CR2Z
[Cherypick:r2.4] pin to old version(3.9.2)has broken docs Fixes tensorflow#45300
2 parents 7af9b66 + cdb400a commit ab0402b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tensorflow/tools/ci_build/release/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function install_ubuntu_16_pip_deps {
130130
"${PIP_CMD}" install --user 'keras_preprocessing ~= 1.1.2'
131131
"${PIP_CMD}" install --user 'numpy ~= 1.19.2'
132132
"${PIP_CMD}" install --user 'opt_einsum ~= 3.3.0'
133-
"${PIP_CMD}" install --user 'protobuf ~= 3.9.2'
133+
"${PIP_CMD}" install --user 'protobuf >= 3.9.2'
134134
"${PIP_CMD}" install --user 'six ~= 1.15.0'
135135
"${PIP_CMD}" install --user 'termcolor ~= 1.1.0'
136136
"${PIP_CMD}" install --user 'typing_extensions ~= 3.7.4'
@@ -186,7 +186,7 @@ function install_macos_pip_deps {
186186
${PIP_CMD} install --user 'keras_preprocessing ~= 1.1.2'
187187
${PIP_CMD} install --user 'numpy ~= 1.19.2'
188188
${PIP_CMD} install --user 'opt_einsum ~= 3.3.0'
189-
${PIP_CMD} install --user 'protobuf ~= 3.9.2'
189+
${PIP_CMD} install --user 'protobuf >= 3.9.2'
190190
${PIP_CMD} install --user 'six ~= 1.15.0'
191191
${PIP_CMD} install --user 'termcolor ~= 1.1.0'
192192
${PIP_CMD} install --user 'typing_extensions ~= 3.7.4'

tensorflow/tools/ci_build/release/common_win.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ SET PATH=%PATH%;C:\%PYTHON_DIRECTORY%
3636
%PY_EXE% -m pip install "keras_preprocessing ~= 1.1.2"
3737
%PY_EXE% -m pip install "numpy ~= 1.19.2"
3838
%PY_EXE% -m pip install "opt_einsum ~= 3.3.0"
39-
%PY_EXE% -m pip install "protobuf ~= 3.9.2"
39+
%PY_EXE% -m pip install "protobuf >= 3.9.2"
4040
%PY_EXE% -m pip install "six ~= 1.15.0"
4141
%PY_EXE% -m pip install "termcolor ~= 1.1.0"
4242
%PY_EXE% -m pip install "typing_extensions ~= 3.7.4"

tensorflow/tools/pip_package/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
'keras_preprocessing ~= 1.1.2',
8484
'numpy ~= 1.19.2',
8585
'opt_einsum ~= 3.3.0',
86-
'protobuf ~= 3.9.2',
86+
'protobuf >= 3.9.2',
8787
'six ~= 1.15.0',
8888
'termcolor ~= 1.1.0',
8989
'typing_extensions ~= 3.7.4',

0 commit comments

Comments
 (0)