E53B Fix: Refactors code to account for a tdqm code deprecation by chalmerlowe · Pull Request #1357 · googleapis/python-bigquery · GitHub
[go: up one dir, main page]

Skip to content

Conversation

chalmerlowe
Copy link
Collaborator

tqdm has changed elements of their codebase and issued a deprecation warning. This change implements several refactors to account for those changes and mitigate the deprecation warning.

The tdqm library would issue the following deprecation warning:

```Please use tqdm.notebook.tqdm instead of `tqdm.tqdm_notebook


This PR:

* revises our code and tests to point at the new file/function
* alters the import statements accordingly
* accounts for potential differences in warnings that appear when errors happen in the tests

Fixes #1146 🦕

@chalmerlowe chalmerlowe requested a review from a team September 15, 2022 21:33
@chalmerlowe chalmerlowe requested a review from a team as a code owner September 15, 2022 21:33
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/python-bigquery API. labels Sep 15, 2022
@chalmerlowe chalmerlowe added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 19, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 19, 2022
@chalmerlowe chalmerlowe merged commit 1369a9d into main Sep 19, 2022
@chalmerlowe chalmerlowe deleted the fix-tdqm-code-deprecation branch September 19, 2022 21:18
@chalmerlowe
Copy link
Collaborator Author

Fixes #1146

abdelmegahedgoogle pushed a commit to abdelmegahedgoogle/python-bigquery that referenced this pull request Apr 17, 2023
…s#1357)

* tests some options

* refactors to use tqdm.* notation

* refactors tqdm function calls to account for deprecation warning

* refactors _tqdm_helpers to account for tqdm deprecation warnings

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* removes an extraneous reference to ipywidgets

* removes unneeded import

* removes import and fixes linting error

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/python-bigquery API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0