From 8817581061577194d97a95fe215fc4d14bbc1df7 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 18 Nov 2023 16:07:16 +0100 Subject: [PATCH] Removed `-U` option from pip command when installing deps. We don't need to forcefully upgrade packages that don't need to be upgraded. --- platypush/utils/manifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/utils/manifest.py b/platypush/utils/manifest.py index bf4be609b..6e3a878d7 100644 --- a/platypush/utils/manifest.py +++ b/platypush/utils/manifest.py @@ -467,7 +467,7 @@ class Dependencies: deps = sorted(self.pip) if full_command: yield ( - 'pip install -U --no-input ' + 'pip install --no-input ' + ('--no-cache-dir ' if self._is_docker else '') + ( '--break-system-packages '