Support --pip-args=<some pip arg> in pip-compile
#40829
cofiem
started this conversation in
Suggest an Idea
Replies: 1 comment
-
|
i would like to pass
which leads to the same error message as reported by OP |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to use
--pip-argsforpip-compile.After configuring the pip-compile manager, I encountered this warning (or error):
The reason for passing
-pip-args='--only-binary :all:'is to ensure that pip only uses binary distribution files (built wheel files) and not source distribution files. Using only wheel files is a security improvement, as it reduces the opportunity for arbitrary code execution through building source distributions.That error comes from:
renovate/lib/modules/manager/pip-compile/common.ts
Line 336 in da2c4b9
I've had a brief look at the code. It looks like
pip-toolsis used underneath.If that's the case, then this diff seems like it would allow
--pip-argsto be passed:Am I on the right track?
Would this be a reasonable change?
Beta Was this translation helpful? Give feedback.
All reactions