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

separate import tests to see what's missing #1054

Merged
merged 2 commits into from
Jun 2, 2023
Merged

separate import tests to see what's missing #1054

merged 2 commits into from
Jun 2, 2023

Conversation

raybellwaves
Copy link
Contributor

@raybellwaves raybellwaves commented Apr 5, 2023

This allows to see which package(s) out of cartopy, geoview and pyproj are missing.

@maximlt
Copy link
Member

maximlt commented Apr 5, 2023

GeoViews depends on Cartopy and it seems like Cartopy depends on pyproj. So maybe it all comes down to just telling users to install GeoViews? Or did you observe cases where this was not true and needed the more fine grained error report you're implementing in this PR?

@hoxbro
Copy link
Member

hoxbro commented Apr 5, 2023

I think this will make it a bit annoying if you have to install more than one of the packages.

Maybe check all and then print out the packages which are missing?

@maximlt
Copy link
Member

maximlt commented Jun 2, 2023

Thanks @raybellwaves, I took the liberty to update your PR by grouping the checks so that users get a single list of the missing dependencies.

@maximlt maximlt merged commit 50fc2cf into holoviz:main Jun 2, 2023
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