Handle resolver
argument in pip-compile
manager
#18488
Labels
manager:pip-compile
Related to pip compile package manager
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
type:feature
Feature (new functionality)
What would you like Renovate to be able to do?
pip-tools
6.8.0 added a--resolver
argument that can take 2 values:backtracking
, which makespip-tools
use pip's 2020 dependency resolverlegacy
(the default value for now), which makespip-tools
use pip's legacy resolverSupport for the legacy resolver will be deprecated and removed at some point (this is tracked in jazzband/pip-tools#1659), mostly because pip itself will remove support for the old resolver.
There are 2 main reasons for supporting this argument in Renovate:
pip-tools
defaulting tobacktracking
resolver is used by Renovate, users will be forced to use the new resolver, even if they explicitly set the value tolegacy
(or use an older version ofpip-tools
)If you have any ideas on how this should be implemented, please tell us here.
The implementation should be rather straightforward, as Renovate should simply read
--resolver
argument and, if set, sanitise it to ensure that it is eitherlegacy
orbacktracking
(and avoid unsecure inputs), then pass it as an argument topip-tools
.Is this a feature you are interested in implementing yourself?
Yes
The text was updated successfully, but these errors were encountered: