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 deprecated import #65

Merged

Conversation

cburgdorf
Copy link
Contributor

What was wrong?

We are importing from a deprecated library causing warnings in downstream projects such as Trinity.

/home/cburgdorf/Documents/hacking/ef/trinity/venv/lib/python3.7/site-packages/eth_keys/datatypes.py:28: DeprecationWarning: The eth_utils.typing module will be deprecated in favor of eth-typing in the next major version bump.
  from eth_utils.typing import (

How was it fixed?

Add eth-typing dependency and use ChecksumAddress from there.

Cute Animal Picture

Cute animal picture

@cburgdorf
Copy link
Contributor Author

@njgheorghita ping for review

@cburgdorf
Copy link
Contributor Author

Oh, wait a minute, this is causing a sea of failed tests...

@cburgdorf
Copy link
Contributor Author

Alright, it's ready for review now.

Copy link
Contributor

@njgheorghita njgheorghita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! It's nice to see your deprecation warning pay off 😅

@cburgdorf
Copy link
Contributor Author

@pipermerriam I don't have merge rights in this repo

@cburgdorf
Copy link
Contributor Author

@pipermerriam Could you merge this for me (or grant me merge rights)

@pipermerriam pipermerriam merged commit a181917 into ethereum:master Jan 8, 2020
pacrob pushed a commit to pacrob/eth-keys that referenced this pull request Dec 20, 2023
* Tweaks to release process

* Drop python 3.6
pacrob pushed a commit to pacrob/eth-keys that referenced this pull request Dec 20, 2023
toxinidir won't mean anything in a Makefile
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

Successfully merging this pull request may close these issues.

None yet

3 participants