From c7e1f71f9b2e4168c42643074953cfac75bae629 Mon Sep 17 00:00:00 2001 From: Tristan Lippold Date: Sun, 7 Dec 2025 12:58:06 +0100 Subject: [PATCH] Update protobuf version Signed-off-by: Tristan Lippold --- setup.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d074a1e80..18c1850bf 100644 --- a/setup.py +++ b/setup.py @@ -82,7 +82,16 @@ def run(self): author='ONNX', author_email='onnx-technical-discuss@lists.lfaidata.foundation', url='https://github.com/onnx/tensorflow-onnx', - install_requires=['numpy>=1.14.1', 'onnx>=1.4.1', 'requests', 'six', 'flatbuffers>=1.12', 'protobuf~=3.20'], + install_requires=[ + 'numpy>=1.14.1', + 'onnx>=1.4.1', + 'requests', + 'six', + 'flatbuffers>=1.12', + 'protobuf>=4.25.8,<5.26.0rc1', + 'protobuf>=5.29.5,<6.30.0rc1', + 'protobuf>=6.31.1' + ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers',