Skip to content
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 incompatible with ipywidgets v8.0 #1364

Closed
redeboer opened this issue Sep 2, 2022 · 1 comment · Fixed by #1366
Closed

tqdm incompatible with ipywidgets v8.0 #1364

redeboer opened this issue Sep 2, 2022 · 1 comment · Fixed by #1366
Assignees
Labels
duplicate 🗐 Seen it before p2-bug-warning ⚠ Visual output bad submodule-notebook 📓 Much web such IDE to-merge ↰ Imminent
Projects

Comments

@redeboer
Copy link

redeboer commented Sep 2, 2022

It seems that tqdm is incompatble with the new release of ipywidgets v8.0: with that version, the progress bar is rendered as JSON.

How to reproduce

Using Python 3.8.13:

python3 -m pip install ipywidgets==8.0.1 jupyterlab==3.4.5 tqdm==4.64.0

Then run the following in a Jupyter notebook:

import time
from tqdm.auto import tqdm

for i in tqdm(range(3)):
    time.sleep(1)
ipywidgets==7.7.2 ipywidgets==8.0.1
image image
@casperdcl casperdcl self-assigned this Sep 3, 2022
@casperdcl casperdcl added duplicate 🗐 Seen it before to-merge ↰ Imminent p2-bug-warning ⚠ Visual output bad submodule-notebook 📓 Much web such IDE labels Sep 3, 2022
@casperdcl
Copy link
Sponsor Member

duplicate of #1310; should be fixed soon by #1366 in tqdm>=4.64.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate 🗐 Seen it before p2-bug-warning ⚠ Visual output bad submodule-notebook 📓 Much web such IDE to-merge ↰ Imminent
Projects
Casper
  
Awaiting triage
Development

Successfully merging a pull request may close this issue.

2 participants