From 1d3e5564a25d8c2ab67125006c6381803c7a68a0 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Sat, 24 Jun 2023 14:10:44 -0400 Subject: [PATCH] git deploy: use python requirements file for updates The package parsing only serves the purpose of performing the diff. Signed-off-by: Eric Callahan --- moonraker/components/update_manager/git_deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/components/update_manager/git_deploy.py b/moonraker/components/update_manager/git_deploy.py index 87750b1..ee3060b 100644 --- a/moonraker/components/update_manager/git_deploy.py +++ b/moonraker/components/update_manager/git_deploy.py @@ -194,7 +194,7 @@ class GitDeploy(AppDeploy): if packages: await self._install_packages(packages) if modules: - await self._update_python_requirements(modules) + await self._update_python_requirements(self.python_reqs or modules) npm_hash: Optional[str] = dep_info["npm_hash"] ret = await self._check_need_update(npm_hash, self.npm_pkg_json) if force or ret: