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