Skip to content

Commit 51cce02

Browse files
MarkDaoustcopybara-github
authored andcommitted
TensorFlow is protobuf>4 now.
This is failing with tf-nightly. PiperOrigin-RevId: 509101102
1 parent c1510dc commit 51cce02

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

setup.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# ==============================================================================
1515
"""tensorflow_docs is a package for generating python api-reference docs."""
1616

17-
import subprocess
1817
import sys
1918

2019
from setuptools import find_packages
@@ -30,14 +29,7 @@
3029
'absl-py',
3130
'jinja2',
3231
'nbformat',
33-
# TODO(b/182876485): Protobuf 3.20 results in linker errors on Windows
34-
# Protobuf 4.0 is binary incompatible with what C++ TF uses.
35-
# We need ~1 quarter to update properly.
36-
# See also: https://github.com/tensorflow/tensorflow/issues/53234
37-
# See also: https://github.com/protocolbuffers/protobuf/issues/9954
38-
# See also: https://github.com/tensorflow/tensorflow/issues/56077
39-
# This is a temporary patch for now, to patch previous TF releases.
40-
'protobuf >= 3.12.0, < 3.20',
32+
'protobuf',
4133
'pyyaml',
4234
]
4335

0 commit comments

Comments
 (0)