-
Notifications
You must be signed in to change notification settings - Fork 27
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
Eliminate "extra" dependencies #389
Comments
@ga4gh/vrs-python-maintainers @ga4gh/vr-maintainers should provide thoughts |
I am pro more meaningful name. Tools is fine to me
I would prefer to keep them separate since in gene-normalizer, we only use the Pydantic models and would like to keep deps lightweight |
Yeah I agree that simply merging the dependencies would cause some unnecessary difficulties for some niche but not infrequent use cases. I guess the question is
final note: I noticed a few days ago that NetworkX is doing something like this -- you can theoretically install it without Numpy, etc but will hit import errors very quickly, so they recommend you just install with the optional |
I think it's okay to have a frequently used optional dependencies target. The core library functionality of the models and serialization stuff should be usable without those. Not being able to normalize alleles without it is a bit of a limitation. If there wasn't such a size difference in the installed size between them I'd say it wouldn't be that big of a deal to merge them. Adding the
|
@theferrit32 ~40MB of that is PySam (by way of HGVS -> SeqRepo -> PySam), which maybe explains why the |
I'm not sure if a firm decision has been made on this but I've heard a few thoughts expressed on the matter:
edit: had another thought to toss out: move
extras
to a different module level, a laThe text was updated successfully, but these errors were encountered: