pip-tools version: $ pip-compile --version
pip-compile, version 7.4.1.dev14 (main as of 03/04/2024)
Steps to replicate
pip-compile --no-reuse-hashes -o requirements.txt
Expected result
--no-reuse-hashes doesn't show up in the generated header comment.
Actual result
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --generate-hashes --index-url=.. --no-reuse-hashes --output-file=requirements.txt --strip-extras --trusted-host=..
#
I think we should allow users to customise COMPILE_EXCLUDE_OPTIONS by exposing it as an environment variable. Could I have your opinion on that, @webknjaz?
Environment Versions
$ python -V
Python 3.11.8$ pip --version
pip 24.0$ pip-compile --version
pip-compile, version 7.4.1.dev14 (main
as of 03/04/2024)Steps to replicate
pip-compile --no-reuse-hashes -o requirements.txt
Expected result
--no-reuse-hashes
doesn't show up in the generated header comment.Actual result