Skip to content

Conversation

@Carreau
Copy link
Member

@Carreau Carreau commented Feb 26, 2025

tqdm has an incorrect detection of ZMQInteractiveShell when launch via a scheduler that bypass IPKernelApp. Think of JupyterHub cluster spawners and co.

As of end of Feb 2025, the maintainer has been unresponsive for 5 months, to our fix, so we implement a workaround. I don't like it but we have few other choices.

See tqdm/tqdm#1628

tqdm has an incorrect detection of
ZMQInteractiveShell when launch via a scheduler
that bypass IPKernelApp. Think of JupyterHub
cluster spawners and co. As of end of Feb 2025,
the maintainer has been unresponsive for 5 months,
to our fix, so we implement a workaround. I don't
like it but we have few other choices. See
`https://github.com/tqdm/tqdm/pull/1628`
Copy link
Member

@krassowski krassowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see that even once the maintainer of tqdm has some more time, they can take a while to respone as there is a a few upstream PRs related to improving notebook autodetection:

Not sure if we can provide any feedback on the other PRs, but if there are any thoughts we could share to help with review upstream, this might help to move it forward.

@Carreau
Copy link
Member Author

Carreau commented Feb 26, 2025

To backport.

@Carreau Carreau added this to the 6.5 milestone Feb 26, 2025
@Carreau Carreau requested a review from davidbrochart March 9, 2025 16:30
@Carreau
Copy link
Member Author

Carreau commented Mar 21, 2025

I hope this will get merged one day.

@davidbrochart davidbrochart merged commit 9008dbb into ipython:main Mar 21, 2025
37 of 41 checks passed
ianthomas23 pushed a commit to ianthomas23/ipykernel that referenced this pull request Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants