From cddf318fa723e2896afc127dd222b16ea50a9b0a Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 23 Aug 2023 02:16:33 +0200 Subject: [PATCH] Dependencies.from_config should include the base system deps. --- platypush/utils/manifest.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/platypush/utils/manifest.py b/platypush/utils/manifest.py index 5f9f78305a..7eaf67261d 100644 --- a/platypush/utils/manifest.py +++ b/platypush/utils/manifest.py @@ -285,7 +285,15 @@ class Dependencies: """ Parse the required dependencies from a configuration file. """ + if not pkg_manager: + pkg_manager = PackageManagers.scan() + + base_system_deps = cls._get_base_system_dependencies( + pkg_manager=pkg_manager, install_context=install_context + ) + deps = cls( + packages=set(base_system_deps), pkg_manager=pkg_manager, install_context=install_context, base_image=base_image,