From 141e560b9a02832678125ba88d9c246cafa4ad75 Mon Sep 17 00:00:00 2001 From: TensorFlow Hub Authors Date: Mon, 13 Mar 2023 11:19:42 -0700 Subject: [PATCH] Restrict protobuf to be >= 3.8.0, <4 PiperOrigin-RevId: 516267032 --- tensorflow_hub/pip_package/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow_hub/pip_package/setup.py b/tensorflow_hub/pip_package/setup.py index 7ec663ce7..bca29fb2a 100644 --- a/tensorflow_hub/pip_package/setup.py +++ b/tensorflow_hub/pip_package/setup.py @@ -27,7 +27,7 @@ REQUIRED_PACKAGES = [ 'numpy >= 1.12.0', - 'protobuf >= 3.8.0', # No less than what ../WORKSPACE uses. + 'protobuf >= 3.8.0, < 4.0', # No less than what ../WORKSPACE uses. ] project_name = 'tensorflow-hub'