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

Don't write pip compile output to stdout with -q #1962

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

charliermarsh
Copy link
Member

Summary

When the user provides an output file, avoid writing the pip compile output to stdout when -q is specified. (We still write to stdout if no output file is provided, since otherwise, the resolution won't be printed anywhere.)

@charliermarsh charliermarsh added the cli Related to the command line interface label Feb 25, 2024
@@ -1,2 +0,0 @@
apache-airflow[otel]
opentelemetry-exporter-prometheus<0.44
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Accidentally included in a prior PR.)

@charliermarsh charliermarsh enabled auto-merge (squash) February 25, 2024 02:58
@charliermarsh charliermarsh merged commit b052291 into main Feb 25, 2024
7 checks passed
@charliermarsh charliermarsh deleted the charlie/editable branch February 25, 2024 03:06
yasufumy pushed a commit to yasufumy/uv that referenced this pull request Feb 25, 2024
## Summary

When the user provides an output file, avoid writing the `pip compile`
output to `stdout` when `-q` is specified. (We still write to `stdout`
if no output file is provided, since otherwise, the resolution won't be
printed _anywhere_.)
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant