-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Adds improved readout from install_deps.py #3104
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
Conversation
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.
Pull Request Overview
This PR improves the user experience of the dependency installation process by implementing real-time output streaming and enhanced error handling in the install_deps.py
script. The changes replace the previous approach of buffering all subprocess output until completion with a live streaming approach that provides immediate feedback to users.
- Replaces
subprocess.run
withsubprocess.Popen
for real-time output streaming - Adds better error handling with descriptive error messages
- Enhances user feedback during the installation process
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Hunter Hansen <50837800+hhansen-bdai@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Hunter Hansen <50837800+hhansen-bdai@users.noreply.github.com>
3b3e749
to
1d0c6cd
Compare
Signed-off-by: Kelly Guo <kellyg@nvidia.com>
Test Results Summary2 419 tests 2 011 ✅ 2h 18m 52s ⏱️ Results for commit 3e9d0b2. |
# Description This adds improved readout from the subprocesses in `install_deps.py`. It will now print the output instead of printing everything at once when the process is finished. It also has improved error handling. This will help users to have a better understanding of their build process and more easily resolve issues. ## Type of change <!-- As you go through the list, delete the ones that are not applicable. --> - New feature (non-breaking change which adds functionality) ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> --------- Signed-off-by: Hunter Hansen <50837800+hhansen-bdai@users.noreply.github.com> Signed-off-by: Kelly Guo <kellyg@nvidia.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Kelly Guo <kellyg@nvidia.com>
Description
This adds improved readout from the subprocesses in
install_deps.py
. It will now print the output instead of printing everything at once when the process is finished. It also has improved error handling. This will help users to have a better understanding of their build process and more easily resolve issues.Type of change
Checklist
pre-commit
checks with./isaaclab.sh --format
config/extension.toml
fileCONTRIBUTORS.md
or my name already exists there