From da0a4ed04ed35ad91f6253ec3af40547d56b9c22 Mon Sep 17 00:00:00 2001
From: Millian Poquet <millian.poquet@irit.fr>
Date: Sun, 13 Nov 2022 22:05:44 +0100
Subject: [PATCH] python: use protobuf<4

---
 client-py/setup.py | 3 ++-
 protocol/setup.py  | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/client-py/setup.py b/client-py/setup.py
index 5e7563d..aac9697 100644
--- a/client-py/setup.py
+++ b/client-py/setup.py
@@ -8,8 +8,9 @@ setup(name='client-py',
 
     python_requires='>=3.6',
     install_requires=[
+        'protocol>=0.1.0',
         'pyzmq>=22.3.0',
-        'protobuf>=3.19.4',
+        'protobuf>=3.19.4,<4',
     ],
 
     description="Example python client for DZ2 toy CI prototype.",
diff --git a/protocol/setup.py b/protocol/setup.py
index fedd97d..f3bb824 100644
--- a/protocol/setup.py
+++ b/protocol/setup.py
@@ -22,7 +22,7 @@ setup(name='protocol',
 
     python_requires='>=3.6',
     install_requires=[
-        'protobuf>=3.19.4',
+        'protobuf>=3.19.4,<4',
     ],
 
     description="Example python protocol library for DZ2 toy CI prototype.",
-- 
GitLab