From c5793b07654e2e8d5cbb40a2bb8d75f498f08a70 Mon Sep 17 00:00:00 2001 From: Guillaume Boutry Date: Fri, 21 Apr 2023 16:22:22 +0200 Subject: [PATCH] Add dependencies with native components as binary packages The build time is very long because of PIP having to fetch and build native components of the libraries. This change show a possible way to bypass this issue. This has implication regarding the platform it's running on. In this case, we know the charm is going to be run on a 22.04 container. Change-Id: Ib0d57b872364b8eba6320bb36269c2fcaf7fedb7 --- charmcraft.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/charmcraft.yaml b/charmcraft.yaml index 17a923a..eea1df0 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -25,3 +25,8 @@ parts: - pkg-config - rustc - cargo + charm-binary-python-packages: + - cryptography + - jsonschema + - jinja2 + - git+https://opendev.org/openstack/charm-ops-sunbeam#egg=ops_sunbeam