When invoking pip-compile like this:
pip-compile -i https://pypi.our-company.com/
--no-emit-trusted-host --no-emit-find-links
requirements/requirements.in.txt
2> requirements/hac-reqs1.txt
the following surprising [to me anyways..] behavior occurs:
- there is no output to stdout (it goes to stderr which is why i use
2>) - The input file
requirements/requirements.in.txtis overwritten with the output contents (which are also the same as the stderr output)
I just want a more normal behavior along the lines of either
pip-compile <input_file> <output_file>pip-compile <input_file> > <output_file>
Is that possible? If not then how is the <input file> supposed to be protected from being overwritten ?