Skip to content
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

Suppress resolver output by default in uv run and uv tool run #5580

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Jul 30, 2024

Summary

The idea here is that we hide all resolver output (the grayed out resolver messages, plus the list of environment modifications) by default in uv run and uv tool run. We show the output under -v; you can also pass --show-resolution to re-enable them, though that's intended to facilitate testing.

Closes #5458.

@charliermarsh charliermarsh marked this pull request as ready for review July 30, 2024 00:01
@charliermarsh charliermarsh added cli Related to the command line interface preview Experimental behavior labels Jul 30, 2024
@charliermarsh charliermarsh force-pushed the charlie/run-output branch 2 times, most recently from dc1021b to 4ba0a8b Compare July 30, 2024 02:26
crates/uv/tests/run.rs Outdated Show resolved Hide resolved
@charliermarsh
Copy link
Member Author

Ok, we're gonna make this a hidden CLI flag for now (to enable testing), but rely on -v.

@charliermarsh charliermarsh merged commit d6c319a into main Jul 30, 2024
57 checks passed
@charliermarsh charliermarsh deleted the charlie/run-output branch July 30, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command line interface preview Experimental behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Significantly reduce user-facing output in uv run
3 participants