From cda1cd524fcc9fb290d55931ac65f61d1ce5a85e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sawicz?= Date: Fri, 10 May 2024 19:21:29 +0200 Subject: [PATCH] fix(flutter_plugin): add `curl` to build-packages (#4804) --- snapcraft/parts/plugins/flutter_plugin.py | 1 + tests/unit/parts/plugins/test_flutter_plugin.py | 1 + 2 files changed, 2 insertions(+) diff --git a/snapcraft/parts/plugins/flutter_plugin.py b/snapcraft/parts/plugins/flutter_plugin.py index 894ec25c18..bccd48c4de 100644 --- a/snapcraft/parts/plugins/flutter_plugin.py +++ b/snapcraft/parts/plugins/flutter_plugin.py @@ -83,6 +83,7 @@ def get_build_snaps(self) -> Set[str]: def get_build_packages(self) -> Set[str]: return { "clang", + "curl", "git", "cmake", "ninja-build", diff --git a/tests/unit/parts/plugins/test_flutter_plugin.py b/tests/unit/parts/plugins/test_flutter_plugin.py index b5c6628350..2392a5eae6 100644 --- a/tests/unit/parts/plugins/test_flutter_plugin.py +++ b/tests/unit/parts/plugins/test_flutter_plugin.py @@ -42,6 +42,7 @@ def test_get_build_packages(part_info): plugin = FlutterPlugin(properties=properties, part_info=part_info) assert plugin.get_build_packages() == { "clang", + "curl", "git", "cmake", "ninja-build",