From 308c7088be7c72429411d8afc9f14b1ab9a58a5d Mon Sep 17 00:00:00 2001 From: iamacook Date: Tue, 17 Sep 2024 11:22:19 +0200 Subject: [PATCH 1/2] Ping web3 to 6.20.2 --- requirements.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/requirements.txt b/requirements.txt index e645cf22..4bba04d6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,3 +11,9 @@ gunicorn==23.0.0 Pillow==10.4.0 psycopg2-binary==2.9.9 requests==2.32.3 + +# Without pin, safe-eth-py 5.8.0 installs >= 7 which breaks django-check job +# > ImportError: cannot import name 'geth_poa_middleware' from 'web3.middleware' +# TODO: Remove when safe-eth-py updates web3 to >= 7 +# https://github.com/safe-global/safe-eth-py/pull/1315 +web3==6.20.2 \ No newline at end of file From 7f5e83dd24c5242bc094e1123832354f2747de95 Mon Sep 17 00:00:00 2001 From: iamacook Date: Tue, 17 Sep 2024 11:24:22 +0200 Subject: [PATCH 2/2] Fix comment --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4bba04d6..c843c341 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ psycopg2-binary==2.9.9 requests==2.32.3 # Without pin, safe-eth-py 5.8.0 installs >= 7 which breaks django-check job -# > ImportError: cannot import name 'geth_poa_middleware' from 'web3.middleware' +# > ImportError: cannot import name 'geth_poa_middleware' from 'web3.middleware' # TODO: Remove when safe-eth-py updates web3 to >= 7 # https://github.com/safe-global/safe-eth-py/pull/1315 web3==6.20.2 \ No newline at end of file