pip-compile --output-file test.txt also writes to stdout #360

Open
blueyed opened this Issue May 11, 2016 · 1 comment

Comments

3 participants
@blueyed
Contributor

blueyed commented May 11, 2016

With pip-compile --output-file test.txt test.in the output should only be written to the file, and not to stdout additionally.
This happens through log.info (https://github.com/nvie/pip-tools/blob/a5ef99f320e1eb3841a8571131e1cfc8aa6ed4e4/piptools/writer.py#L96).

I think it should write to stdout only when - is used for --output-file (which would be a new feature also).

Related: #353.

Support for stdin/stdout was initially requested/discussed in #104.

@cjerdonek

This comment has been minimized.

Show comment
Hide comment
@cjerdonek

cjerdonek May 12, 2016

Issue #275 is also related.

Issue #275 is also related.

blueyed added a commit to blueyed/pip-tools that referenced this issue May 12, 2016

@davidovich davidovich added this to Similar in pip-tools Mar 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment