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
This commit is contained in:
Guillaume Boutry 2023-04-21 16:23:02 +02:00
parent 697ab7a617
commit 894fc3fe16

View File

@ -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