Update to core22 base

Misc refresh of snapcraft fields to align with requirements
for core22.

Change-Id: I5dcba7320b2ff2bf04e52542e1c1f426fa64afdc
This commit is contained in:
James Page 2022-10-28 10:00:42 +02:00
parent 03583028bb
commit 4c0fdd1d73
1 changed files with 4 additions and 3 deletions

View File

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