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

Expose ValidationError for backwards compatibility #70

Merged
merged 1 commit into from
Apr 22, 2020

Conversation

carver
Copy link
Collaborator

@carver carver commented Apr 22, 2020

What was wrong?

#68 (comment)

How was it fixed?

Re-add ValidationError at eth_keys.exceptions.ValidationError, but using the eth-utils version.

Cute Animal Picture

Cute animal picture

)

from eth_keys import KeyAPI
from eth_keys.backends import NativeECCBackend
from eth_keys.exceptions import ValidationError
Copy link
Member

Choose a reason for hiding this comment

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

Maybe better to have these import directly from eth_utils?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

👍 I was using it to verify that the eth_keys exception import still works. But, better to do that explicitly with a new test, instead.

@carver carver force-pushed the backward-compatible-ValidationError branch from a637232 to 4fa966c Compare April 22, 2020 21:18
@carver carver merged commit 1e87d35 into ethereum:master Apr 22, 2020
@carver carver deleted the backward-compatible-ValidationError branch April 22, 2020 21:20
pacrob pushed a commit to pacrob/eth-keys that referenced this pull request Dec 20, 2023
- It is not recommended to invoke ``setup.py`` directly, instead opting for ``python -m build`` for the commands in this commit (see: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html)
- Add newsfragment for ethereum#70
pacrob pushed a commit to pacrob/eth-keys that referenced this pull request Dec 20, 2023
Do not invoke `setup.py` directly; minor refactor + cleanup
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

2 participants