From 0f62b283bdcdb5fe5a5fe991c6b2730002c5e7cc Mon Sep 17 00:00:00 2001 From: Arksine Date: Tue, 22 Dec 2020 18:10:58 -0500 Subject: [PATCH] update_manager: rebuild the enviroment if a new env version is detected This should be done even if new dependencies are not required. Signed-off-by: Eric Callahan --- moonraker/plugins/update_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moonraker/plugins/update_manager.py b/moonraker/plugins/update_manager.py index a58377c..04db400 100644 --- a/moonraker/plugins/update_manager.py +++ b/moonraker/plugins/update_manager.py @@ -330,6 +330,8 @@ class GitUpdater: if update_deps: await self._install_packages() await self._update_virtualenv(need_env_rebuild) + elif need_env_rebuild: + await self._update_virtualenv(True) # Refresh local repo state await self._check_local_version() if self.name == "moonraker":