-
Notifications
You must be signed in to change notification settings - Fork 732
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
Disable concurrent progress bars in Jupyter Notebooks #3890
Conversation
dafba44
to
93ca4b9
Compare
@@ -201,6 +266,9 @@ impl uv_installer::DownloadReporter for DownloadReporter { | |||
} | |||
|
|||
fn on_complete(&self) { | |||
// Need an extra call to `set_message` here to fully clear avoid leaving ghost output | |||
// in Jupyter notebooks. | |||
self.reporter.root.set_message(""); |
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.
This bug existed before the new progress bars, where if the previous progress bar line was longer than the next one, it wouldn't be fully cleared. Seems like a bug in indicatif.
Can you also test this in Jupyter Lab? Same process but run |
CodSpeed Performance ReportMerging #3890 will improve performances by 6.72%Comparing Summary
Benchmarks breakdown
|
@charliermarsh seems to work there too: |
Summary
Resolves #3887 by disabling the new progress output when the
JPY_SESSION_NAME
environment variable is detected.Test Plan
Fixed output in a Jupyter notebook: