Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove web3.utils in favor of web3._utils #1281

Closed
kclowes opened this issue Mar 15, 2019 · 0 comments
Closed

Remove web3.utils in favor of web3._utils #1281

kclowes opened this issue Mar 15, 2019 · 0 comments

Comments

@kclowes
Copy link
Collaborator

kclowes commented Mar 15, 2019

  • Version: 5a7

What was wrong?

When installing v5a7, someone got an ImportError: cannot import name 'compat'. Commenting out the line https://github.com/ethereum/web3.py/blob/master/web3/utils/__init__.py#L5 fixed the error.

How can it be fixed?

web3.utils only existed for backward compatibility, so can be removed in v5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant