From 8edefbac4a2ae070b84de5db7518ec9ffbf55b26 Mon Sep 17 00:00:00 2001 From: Alaeddine Abdessalem Date: Thu, 26 May 2022 03:52:31 +0200 Subject: [PATCH 1/2] fix: fix protobuf dependency --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b9bc17e42f4..3efde05c338 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ extras_require={ # req usage, please see https://docarray.jina.ai/#install 'common': [ - 'protobuf>=3.13.0', + 'protobuf>=3.13.0,<4.21.0', 'lz4', 'requests', 'matplotlib', @@ -52,7 +52,7 @@ 'uvicorn', ], 'full': [ - 'protobuf>=3.13.0', + 'protobuf>=3.13.0,<4.21.0', 'lz4', 'requests', 'matplotlib', From 426539e45f59bac3e2086f766e40dcde26e7c686 Mon Sep 17 00:00:00 2001 From: Alaeddine Abdessalem Date: Thu, 26 May 2022 03:58:50 +0200 Subject: [PATCH 2/2] fix: fix protobuf dependency --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3efde05c338..d6ef424b5fa 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ extras_require={ # req usage, please see https://docarray.jina.ai/#install 'common': [ - 'protobuf>=3.13.0,<4.21.0', + 'protobuf>=3.13.0,<=3.20.1', 'lz4', 'requests', 'matplotlib', @@ -52,7 +52,7 @@ 'uvicorn', ], 'full': [ - 'protobuf>=3.13.0,<4.21.0', + 'protobuf>=3.13.0,<=3.20.1', 'lz4', 'requests', 'matplotlib',