From b08b2a6ab16246aa09d587a9fd83e8ca430f8289 Mon Sep 17 00:00:00 2001 From: Guillaume Boutry Date: Fri, 21 Apr 2023 16:23:02 +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: I96e7effad26922e36c00178c8a087b0a2511b7bf --- 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