-
Notifications
You must be signed in to change notification settings - Fork 441
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
Remove progressbar from pooch fetch and downloads API #3693
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this.
Almost forgot to remove the functionality from the |
Codecov Report
@@ Coverage Diff @@
## main #3693 +/- ##
=======================================
Coverage 94.05% 94.05%
=======================================
Files 83 83
Lines 18558 18558
=======================================
Hits 17454 17454
Misses 1104 1104 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy with this as is and don't think we need to catch/deprecate the user's use of progress_bar
argument
Thanks, @adeak!! |
Good point; let me label this as a breaking change though. |
As pointed out in a question on Stack Overflow, PyVista breaks on anything older than the currently newest
pooch
(1.6.0, released in January 2022).Removing the
progressbar
kwarg from the call tofetch()
makes us compatible withpooch
1.3.0 the oldest, which was released 2 years ago. 1.3.0 added theretry_if_failed
feature, which is something we should keep, so this should be an acceptable compromise.This is a minor breaking change if anyone downstream used the
progress_bar
kwarg of downloads.