-
-
Notifications
You must be signed in to change notification settings - Fork 617
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
pip-compile --upgrade not propagating to the header #1675
Comments
That's a deliberate decision, because |
In my workflow, I like having the header match the command used to produce the file for traceability. In other words, if To take a different perspective, I see the header silently filtering out parts of the I like |
You can override the header with COMPILE_COMMAND env. |
See also: #1461 |
I'll close this based on the above, but please let us know if it doesn't resolve your issue. Thanks! |
Environment Versions
$ python -V
: 3.10.3$ pip --version
: 22.2.2$ pip-compile --version
: 6.8.0Steps to replicate
I use the included header command to reproduce the command run. I would like
--upgrade
to be propagated to the header.Trying it out:
Expected result
I expect
--upgrade
to propagate to the header.Actual result
It did not propagate to the header.
The text was updated successfully, but these errors were encountered: