You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a session with a lot of dependencies with --verbose, Nox will appear to hang after calling pip. Then will return all of the pip output at once. This breaks one of the fundamental rules of user interfaces, never make the user wonder what is happening.
Expected Behavior
Nox should provide realtime output from pip when --verbose is passed. There are several ways to do this. (Don't capture stdout/stderr, capture and print in loop until process is complete, call pip through Python). Probably this should be solved more generally than pip because there are other long-running commands people will want to run.
Steps To Reproduce
Create nox session with a lot of dependencies
Run nox --verbose -s <session>
Observer hang until pip completes
Environment
- OS: Ubuntu 20.04
- Python: 3.8
- Nox: 2022.8.7
Anything else?
No response
The text was updated successfully, but these errors were encountered:
This was an issue recently dealing with pip backtracking. Essentially pip was stuck in a dependency resolution loop. I ended up having to run pip manually in order to determine this because Nox just appeared to hang. It got me thinking though, depending on how the buffers are configured, this would eventually overwrite the buffer or fill the system memory.
I see now I can pass silent=False to Session.install(). This seems counter-intuitive. I'd expect the default to be False, especially if the --verbose option was passed.
Current Behavior
When running a session with a lot of dependencies with
--verbose
, Nox will appear to hang after calling pip. Then will return all of the pip output at once. This breaks one of the fundamental rules of user interfaces, never make the user wonder what is happening.Expected Behavior
Nox should provide realtime output from pip when
--verbose
is passed. There are several ways to do this. (Don't capture stdout/stderr, capture and print in loop until process is complete, call pip through Python). Probably this should be solved more generally than pip because there are other long-running commands people will want to run.Steps To Reproduce
nox --verbose -s <session>
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: