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

Better errors for pystac/satstac import issues #125

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

gjoseph92
Copy link
Owner

If a specific class can't be imported from pystac or satstac, but the modules can be imported overall, mention this in the error message when stackstac.stack fails to identify the STAC type. It probably means you're using an incompatible version of one of the libraries.

Note that tests won't actually run until #116 is merged (which adds the pytest dependency). Didn't want to deal with merge conflicts in the lockfile, so I left pytest out for now.

Might help with #124

@gjoseph92 gjoseph92 merged commit ed2b9f7 into main Feb 2, 2022
@gjoseph92 gjoseph92 deleted the stac-module-import-issues branch February 2, 2022 05:42
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.

1 participant