Option to override pip's --exists-action, or PIP_EXISTS_ACTION #3737
Labels
Category: Performance
Issue relates to performance
Category: Pip
Requires pip update to address
PR: awaiting-review
The PR related to this issue is awaiting review by a maintainer.
Priority: Medium
This item is medium priority and will be resolved whenever possible.
Type: Behavior Change
This issue describes a behavior change.
Type: Enhancement 💡
This is a feature or enhancement request.
Hello,
I'm trying to find a way to specify
--exists-action
for pip install command, but it seems there's no way to override it.Here: https://github.com/pypa/pipenv/blob/master/pipenv/core.py#L1506 you force
"PIP_EXISTS_ACTION": vistir.misc.fs_str("w")
I need a way to set either
PIP_EXISTS_ACTION=i
or--exists-action=i
(ignore a package if it's already installed)This would make installation really really (really) fast, if the virtual environment exists.
We need this because we cache and restore
.venv
, and this option would make CI much faster :)Thanks
The text was updated successfully, but these errors were encountered: