-
-
Notifications
You must be signed in to change notification settings - Fork 419
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
Add scikit-image[data] to install_requires, because it's required by builtins #5329
Add scikit-image[data] to install_requires, because it's required by builtins #5329
Conversation
Looks good @psobolewskiPhD ! Any chance we could add a test to catch this in the future? |
Codecov Report
@@ Coverage Diff @@
## main #5329 +/- ##
=======================================
Coverage 89.08% 89.08%
=======================================
Files 582 582
Lines 49311 49311
=======================================
Hits 43929 43929
Misses 5382 5382
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Sample data is tested: Lines 110 to 123 in cd5c314
So I'm not sure how to test this specific interaction. (not sure why pooch is higher there than what scikit-image requires, maybe pooch is also used for some other test?) |
Got it! Thanks for digging it :) |
I think it's because pooch added progress bars in v1.6.0: https://github.com/fatiando/pooch/releases/tag/v1.6.0 For the relativity small scikit-image data these aren't too important, unless you're on a slow connection. But as files get larger, having some messaging around progress becomes almost required. We added some examples like that in |
Description
This PR adds
scikit-image[data]
to theinstall_requires
ofnapari
, because it's required bybuiltins
to ensure all the Sample data in File > Open Samples actually work.builtins
doesn't have it's own dependencies/requirements, because while it works as a plugin, it's not installed as such.Note: at the moment,
scikit-image[data]
is justpooch
a small pure python package, whose dependencies are already part of the napari requirements list. I didn't addpooch
directly, because ifscikit-image[data]
changes how samples are loaded, then we're covered andscikit-image[data]
is whatbuiltins
requires, so if in the futurebuiltins
is spun-off to an installed plugin, then this dependency can be removed.Type of change
References
Closes #5328
#4706 suggests ultimately moving to
builtins
as it's own repo as a plugin, then could have it's own requirements and this would not be needed.as there are small differences between the two Qt bindings.
Final checklist:
trans.
to make them localizable.For more information see our translations guide.