From 4c0fdd1d73ef3f2dcbd66950f34452178c424578 Mon Sep 17 00:00:00 2001 From: James Page Date: Fri, 28 Oct 2022 10:00:42 +0200 Subject: [PATCH] Update to core22 base Misc refresh of snapcraft fields to align with requirements for core22. Change-Id: I5dcba7320b2ff2bf04e52542e1c1f426fa64afdc --- snapcraft.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 47a13ae..2d0b28d 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -14,7 +14,7 @@ description: | project specific command-line clients. confinement: strict grade: stable -base: core20 +base: core22 environment: REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt PYTHONIOENCODING: utf-8 @@ -144,6 +144,7 @@ apps: parts: openstackclients: plugin: python + source: . python-packages: - aodhclient - osc-placement @@ -178,7 +179,7 @@ parts: - toml - setuptools-rust - Cython - constraints: + python-constraints: - https://raw.githubusercontent.com/openstack/requirements/stable/zed/upper-constraints.txt build-packages: - libffi-dev @@ -191,7 +192,7 @@ parts: - rustc - cargo override-prime: | - snapcraftctl prime + craftctl default # This is the last step, let's now compile all our pyc files. ./bin/python3 -m compileall . # Generate completer script snippets