-
Notifications
You must be signed in to change notification settings - Fork 308
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
tqdm deprecation warning #1146
Comments
Thanks for bringing this to our attention! Seeing as we set the max tqdm version to <5.0.0, I'll mark this as "process" for now, but I do think we need to do this before tqdm 5.0.0 comes out since "extras" aren't always enforced by PyPI and in principle we should support the latest version of our dependencies. |
Thank you! It seems that this has been deprecated for years now though, the commit adding the deprecation warning is from 2019: tqdm/tqdm@49471d3#diff-c2228f13f6b0bdaf4c1012a108f937d0e0eceece0d87e60b0b3c3172f9038bedR5. It seems to be a relatively simple change, would it be possible to increase the priority a bit? |
🎉 Thank you! |
@chalmerlowe This feature seems to be completely broken now. With
Note that This is a pretty serious regression, would you mind issuing a patch whenever you can? Thank you! |
@aribray can you take a look at this? |
Hi @GergelyKalmar, can you pull down the latest version and send me the results of the |
hi @aribray, looks like the issue is now solved! Thank you very much for that. I only have one nitpick regarding the new progress bar setup: it's a bit weird to have two progress bars, and one of them is pushed to the right when the job ID appears: I suppose it would be better to have just a single progress bar on its own line (job ID should be its own line too). If you want to make the output more complete, I've been also showing the data processed at the very end in my own bigquery magic like this:
With this addition the output looks like this: It might look better if you add a colon after the "Job ID" too, but that's just my subjective preference. |
Looks like the original bug has been fixed but there's a remaining feature request for improving the progress bar setup; I'm going to copy the last comment to a new issue so we can examine the request but also close out this bug. :) |
Environment details
google-cloud-bigquery
version: 2.34.0Steps to reproduce
The snippet above causes a deprecation warning that breaks strict pytest runs (using
'filterwarnings': ['error']
):The text was updated successfully, but these errors were encountered: