Skip to content

Commit e795312

Browse files
authored
Restricts the protobuf dependency to be < 5.0.0, due to a recent breaking change. (#6814)
The protobuf release 5.26.x is the first one in the major version 5, which introduces a breaking change. This change adds a restriction on that dependency. See #6808 for details.
1 parent 33fbda1 commit e795312

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tensorboard/pip_package/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ numpy >= 1.12.0
2626
# https://github.com/tensorflow/tensorflow/blob/25adc4fccb4b0bb5a933eba1d246380e7b87d7f7/tensorflow/tools/pip_package/setup.py#L101
2727
# 4.24.0 had an issue that broke our tests, so we should avoid that release:
2828
# https://github.com/protocolbuffers/protobuf/issues/13485
29-
protobuf >= 3.19.6, != 4.24.0
29+
# 5.26.0 introduced a breaking change, so we restricted it for now. See issue #6808 for details.
30+
protobuf >= 3.19.6, != 4.24.0, < 5.0.0
3031
setuptools >= 41.0.0 # Note: provides pkg_resources as well as setuptools
3132
# A dependency of our vendored packages. This lower bound has not been correctly
3233
# vetted, but I wanted to be the least restrictive we can, since it's not a new

0 commit comments

Comments
 (0)