-
Notifications
You must be signed in to change notification settings - Fork 48
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
Make scipy and asdf optional dependencies? #369
Comments
Well, I don't think
But again, what is the motivation for this? It and all its dependencies are very small, with footprints in the KB range, except for What's the motivation? What real issue would making the installation more cumbersome for users solve? |
Well scipy is easy until you are on a platform which lacks a working fortran toolchain and there aren't binaries for. It's hardly critical to the use of gWCS for most people? There is runtime code which uses asdf, but only to provide a plugin for asdf which will never be directly called by the user, so an asdf extra seems sensibe to me (which is what sunpy does). |
It's far from the end of the world, but I noticed that now ndcube is depending on gwcs that it was pulling in some stuff I didn't know why gwcs was requiring, so thought it might be worth shuffling about? |
I think it makes sense to have scipy as an optional dependency and let applications require it if needed. |
Would it make sense to have an For |
I don't know what others thoughts on this are, but scipy is only used in
numerical_inverse
as is a pretty large package to pull in if you aren't ever planning on usingnumerical_inverse
.On asdf, afaik you aren't ever going to want to use the asdf related functionality of gwcs unless you already have asdf installed? i.e. if you are opening or saving an asdf file with the asdf API which includes a gwcs component, so the asdf dependency for gwcs could be made into a test only requirement?
If there are no strong objections to this I will open a PR?
The text was updated successfully, but these errors were encountered: