From 0a1387ba09f917de0ba8b2cb1a526cb892353557 Mon Sep 17 00:00:00 2001 From: Mark McDonald Date: Fri, 3 Jun 2022 05:43:58 -0700 Subject: [PATCH] Restrict protobuf dependency to match generated code. Our generated schemas currently include references to `_internal_create_key`, which doesn't exist prior to 3.12, so we can't claim to support it. PiperOrigin-RevId: 452748647 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3e44fb34e16..2311b26fa7f 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ # See also: https://github.com/protocolbuffers/protobuf/issues/9954 # See also: https://github.com/tensorflow/tensorflow/issues/56077 # This is a temporary patch for now, to patch previous TF releases. - 'protobuf >= 3.1.4, < 3.20', + 'protobuf >= 3.12.0, < 3.20', 'pyyaml', ]