From 01da6e461872cdb98119b604d60e8e9516e8feaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 7 Mar 2022 10:55:16 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=92=AC=20SWU:=20Stronger=20warning=20?= =?UTF-8?q?about=20pip=20updates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/snippets/pipEnableCheck.jinja2 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/octoprint/plugins/softwareupdate/templates/snippets/pipEnableCheck.jinja2 b/src/octoprint/plugins/softwareupdate/templates/snippets/pipEnableCheck.jinja2 index 100791318..e9c104bfb 100644 --- a/src/octoprint/plugins/softwareupdate/templates/snippets/pipEnableCheck.jinja2 +++ b/src/octoprint/plugins/softwareupdate/templates/snippets/pipEnableCheck.jinja2 @@ -1,8 +1,14 @@
From d99e837b2c486a938db18b8e988dbe5122018f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 7 Mar 2022 11:49:11 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=9B=20pmgr:=20Include=20pip=20vers?= =?UTF-8?q?ion=20in=20cache=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/plugins/pluginmanager/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/octoprint/plugins/pluginmanager/__init__.py b/src/octoprint/plugins/pluginmanager/__init__.py index b94fd8265..4b338e668 100644 --- a/src/octoprint/plugins/pluginmanager/__init__.py +++ b/src/octoprint/plugins/pluginmanager/__init__.py @@ -489,6 +489,7 @@ class PluginManagerPlugin( hash.update(value) hash_update(repr(self._get_plugins())) + hash_update(repr(self._pip_caller.version_string)) hash_update(str(self._notices_available)) hash_update(repr(self._notices)) hash_update(repr(safe_mode))