feat: add RichInstallerReporter and deprecate show_progress#2234
Open
ritankarsaha wants to merge 1 commit intoconda:mainfrom
Open
feat: add RichInstallerReporter and deprecate show_progress#2234ritankarsaha wants to merge 1 commit intoconda:mainfrom
ritankarsaha wants to merge 1 commit intoconda:mainfrom
Conversation
Contributor
Author
|
#2187 (review) @baszalmstra addressed comment in this PR in follow up to #2187 Can you please take a look if any more modifications or changes are required here? |
baszalmstra
reviewed
Mar 17, 2026
| warnings.warn( | ||
| "The 'show_progress' parameter is deprecated and will be removed in a future release. " | ||
| "Use 'reporter=RichInstallerReporter()' instead for rich progress output. " | ||
| "Install rich with: pip install py-rattler[rich]", |
Collaborator
|
Can you record a little GIF that shows what this now looks like when installing an environment? |
Contributor
Author
|
@baszalmstra is this okaay? I made this using vhs, do you require the demo.tape file ? Let me know if you need anything else from my side. |
Signed-off-by: RITANKAR SAHA <ritankar.saha786@gmail.com> updates
314e108 to
741a792
Compare
Contributor
Author
|
@baszalmstra ^^ |
Contributor
Author
|
@baszalmstra are there any more changes which are required to this ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Summary
Follow-up to #2187. The InstallerReporter is a @runtime_checkable Protocol, this PR ships a first-party rich-powered implementation so users get a beautiful live progress display without writing their own reporter.
#2187 (review) addressed this comment and implemented this properly
@baszalmstra
This PR implements a ready-to-use InstallerReporter backed by rich that renders three stacked live panels:
Also raises a clear ImportError with install instructions when rich is not available.
Before
After
RichInstallerReporter is re-exported from both rattler.install and the top-level rattler package.
How Has This Been Tested?
Checklist:
@baszalmstra