feat: Add upgrade-strategy option to pip install command

This commit is contained in:
Paul Gauthier 2024-09-27 10:43:55 -07:00 committed by Paul Gauthier (aider)
parent 1df67b0650
commit 84eca42ca8
2 changed files with 9 additions and 2 deletions

View file

@ -217,7 +217,8 @@ def get_pip_install(args):
"pip",
"install",
"--upgrade",
"--upgrade-strategy only-if-needed",
"--upgrade-strategy",
"only-if-needed",
]
cmd += args
return cmd