-
Notifications
You must be signed in to change notification settings - Fork 149
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
fix: unable to import PyEVMBackend from fresh upgrade #213
Conversation
acf7d88
to
8bad7c5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change, you're so fast! This is sort of a nit, but the error messaging where is_pyevm_available
gets called assumes that pyevm isn't installed (like here, and here), so I wonder if it would be better to make these two separate checks? Like leave is_pyevm_available
, and then add a method that checks that the version of py-evm is a high enough version so we can make the error messages slightly better. Or we can update the wording of the error messages. What do you think?
I think what I would do then is change to the error messages to indicate Edit: I just pushed those changes but will think on this overnight as well! |
@unparalleled-js - This is ready to go, right? |
Yeah, unless you know a way to dynamically get the min supported version. I tried to see if we could do that but couldn't find a way. |
For this line/error messages? Is it set somewhere else? |
I felt bad for breaking your CHANGELOG again and again, so I added towncrier to eth-tester. So now there will be newsfragments like our other repos, and less merge conflicts 🎉. You can pull in master to get that update. I'm happy to add the snippet from the CHANGELOG in this PR to a newsfragment if you want, just let me know! |
I think I upgraded to the newsfragments approach correctly! |
What was wrong?
fixes: #212
How was it fixed?
Check version when checking if py-evm installed
To-Do:
Cute Animal Picture