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

prevent ethpm import issues without ipfshttpclient #2775

Merged
merged 2 commits into from
Jan 13, 2023

Conversation

fselmo
Copy link
Collaborator

@fselmo fselmo commented Jan 10, 2023

What was wrong?

Related to Issue #2774

How was it fixed?

  • Don't force imports related to ipfshttpclient for ethpm

Todo:

Cute Animal Picture

Image from iOS (3) copy

@fselmo fselmo force-pushed the ethpm-import-issue branch from cf91a19 to a01987a Compare January 12, 2023 20:43
@fselmo fselmo marked this pull request as ready for review January 13, 2023 16:41
@fselmo fselmo requested review from kclowes and pacrob January 13, 2023 16:41
@@ -30,6 +27,12 @@
RegistryURIBackend,
)

try:
from ipfshttpclient.exceptions import ConnectionError as IpfsConnectionError
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was renamed to IpfsConnectionError because there is a builtin ConenctionError... so we'd be mistakenly catching an unwanted exception if the ipfshttpclient module is not available.

Copy link
Collaborator

@kclowes kclowes left a comment

Choose a reason for hiding this comment

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

LGTM! 🚢

@kclowes kclowes mentioned this pull request Jan 13, 2023
1 task
Copy link
Contributor

@pacrob pacrob left a comment

Choose a reason for hiding this comment

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

lgtm!

@fselmo fselmo merged commit f40e283 into ethereum:master Jan 13, 2023
@fselmo fselmo deleted the ethpm-import-issue branch April 3, 2024 20:52
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.

3 participants