Skip to content

Commit

Permalink
Restrict protobuf dependency to match generated code.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
markmcd authored and copybara-github committed Jun 3, 2022
1 parent 0dce67e commit 0a1387b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
]

Expand Down

0 comments on commit 0a1387b

Please sign in to comment.