Skip to content

Commit 734988d

Browse files
authored
Restricts protobuf dependency to < 4.24 due to protocolbuffers/protobuf#13485 (#6538)
We currently don't have an upper bound on the protobuf dependency, but the new release broke our CI.
1 parent 1e7f1c9 commit 734988d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tensorboard/pip_package/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ numpy >= 1.12.0
2626
# At the same time, any constraints we specify here must allow at least some
2727
# version to be installed that is also compatible with TensorFlow's constraints:
2828
# https://github.com/tensorflow/tensorflow/blob/9d22f4a0a9499c8e10a4312503e63e0da35ccd94/tensorflow/tools/pip_package/setup.py#L100-L107
29-
protobuf >= 3.19.6
29+
# We needed to add an upper bound restriction due to issue reported in:
30+
# https://github.com/protocolbuffers/protobuf/issues/13485
31+
protobuf >= 3.19.6, < 4.24
3032
requests >= 2.21.0, < 3
3133
setuptools >= 41.0.0 # Note: provides pkg_resources as well as setuptools
3234
tensorboard-data-server >= 0.7.0, < 0.8.0

0 commit comments

Comments
 (0)