From 4d5610d32841ee1692cd17b837a2388d9207ab22 Mon Sep 17 00:00:00 2001 From: Adrian RC Date: Thu, 28 Mar 2024 02:40:16 +0000 Subject: [PATCH] Restricts the protobuf dependency to be < 5.0.0, due to a recent breaking change. See #6808 for details. --- tensorboard/pip_package/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorboard/pip_package/requirements.txt b/tensorboard/pip_package/requirements.txt index 5c259439f21..d93fd2ab491 100644 --- a/tensorboard/pip_package/requirements.txt +++ b/tensorboard/pip_package/requirements.txt @@ -26,7 +26,7 @@ numpy >= 1.12.0 # https://github.com/tensorflow/tensorflow/blob/25adc4fccb4b0bb5a933eba1d246380e7b87d7f7/tensorflow/tools/pip_package/setup.py#L101 # 4.24.0 had an issue that broke our tests, so we should avoid that release: # https://github.com/protocolbuffers/protobuf/issues/13485 -protobuf >= 3.19.6, != 4.24.0 +protobuf >= 3.19.6, != 4.24.0, < 5.0.0 setuptools >= 41.0.0 # Note: provides pkg_resources as well as setuptools # A dependency of our vendored packages. This lower bound has not been correctly # vetted, but I wanted to be the least restrictive we can, since it's not a new