forta-network / forta-bot-sdk

Forta Detection Bot SDK and CLI tool
MIT License
70 stars 43 forks source link

upgrade web3py #287

Open haseebrabbani opened 1 year ago

haseebrabbani commented 1 year ago

requested by Discord community member: https://discord.com/channels/869983523371642921/869986794970693723/1091468590261227540

nfmelendez commented 1 year ago

Hi there, web3.py v5 support will end on August 31, 2023. See issue #3044

apehex commented 10 months ago

Also, i noticed a little issue with forta_agent dependencies in python: web3 v5 has bug with python 3.11 (calls getargspec instead of getfullargspec or another alternative, py-3.11 changed this name)

During dev I can just use python 3.9 and no issues come.

For deployment it means that:

This requires the node deps to be specified in package-lock format 1 or 2, which is under older node versions like 12, during dev.

All in all a little messy ^^'