iexbase / tron-api-python

A Python API for interacting with Tron (TRX)
https://tronapi-for-python.readthedocs.io
MIT License
165 stars 82 forks source link

Update the eth-account dependency to support python 3.10 #103

Open mvshvets opened 1 year ago

mvshvets commented 1 year ago

Thanks for this cool library!

I recently decided to upgrade the project to python 3.10 and came across this:

File "/usr/local/lib/python3.10/site-packages/tronapi/__init__.py", line 11, in <module>
  from eth_account import Account  # noqa: E402
File "/usr/local/lib/python3.10/site-packages/eth_account/__init__.py", line 1, in <module>
  from eth_account.account import (  # noqa: F401
File "/usr/local/lib/python3.10/site-packages/eth_account/account.py", line 1, in <module>
  from collections import (
ImportError: cannot import name 'Mapping' from 'collections' (/usr/local/lib/python3.10/collections/__init__.py)

Are there plans to update the eth-account dependency to support python 3.10?