From 03dea3d7c29db9bda82bd195777e980cd7ec91d0 Mon Sep 17 00:00:00 2001 From: angrybayblade Date: Fri, 17 Nov 2023 11:03:59 +0530 Subject: [PATCH] fix: pin protobuf --- Pipfile | 2 +- plugins/aea-ledger-ethereum-hwi/setup.py | 2 +- setup.py | 2 +- tox.ini | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Pipfile b/Pipfile index 2423afd6c0..93d9d5f43b 100644 --- a/Pipfile +++ b/Pipfile @@ -34,7 +34,7 @@ openapi-core = "==0.13.2" openapi-spec-validator = "==0.2.8" packaging = "<24.0,>=23.1" pexpect = "==4.8.0" -protobuf = "<5.0.0,>=4.21.6" +protobuf = "<4.25.0,>=4.21.6" psutil = "==5.7.0" pycryptodome = ">=3.10.1" pytest-custom-exit-code = "==0.3.0" diff --git a/plugins/aea-ledger-ethereum-hwi/setup.py b/plugins/aea-ledger-ethereum-hwi/setup.py index 98b9ffde93..276076843b 100644 --- a/plugins/aea-ledger-ethereum-hwi/setup.py +++ b/plugins/aea-ledger-ethereum-hwi/setup.py @@ -44,7 +44,7 @@ "eth-account>=0.8.0,<0.9.0", "open-aea-ledger-ethereum~=1.41.0.post1", "ledgerwallet==0.1.3", - "protobuf>=4.21.6,<5.0.0", + "protobuf<4.25.0,>=4.21.6", "construct<=2.10.61", ], tests_require=["pytest"], diff --git a/setup.py b/setup.py index a6758d0a27..6a48ee62af 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ def get_all_extras() -> Dict: "base58>=1.0.3,<3.0.0", "jsonschema<=4.19.0,>=4.16.0", "packaging>=23.1,<24.0", - "protobuf>=4.21.6,<5.0.0", + "protobuf<4.25.0,>=4.21.6", "pymultihash==0.8.2", "pyyaml==6.0.1", "requests==2.28.1", diff --git a/tox.ini b/tox.ini index d9f49d814b..069608bbaa 100644 --- a/tox.ini +++ b/tox.ini @@ -31,7 +31,7 @@ deps = packaging<24.0,>=23.1 py-multibase>=1.0.0 py-multicodec>=0.2.0 - protobuf<5.0.0,>=4.21.6 + protobuf<4.25.0,>=4.21.6 requests==2.28.1 mistune==2.0.3 tomte[isort]==0.2.13