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

View File

@ -14,7 +14,7 @@ description: |
project specific command-line clients. project specific command-line clients.
confinement: strict confinement: strict
grade: stable grade: stable
base: core20 base: core22
environment: environment:
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
PYTHONIOENCODING: utf-8 PYTHONIOENCODING: utf-8
@ -144,6 +144,7 @@ apps:
parts: parts:
openstackclients: openstackclients:
plugin: python plugin: python
source: .
python-packages: python-packages:
- aodhclient - aodhclient
- osc-placement - osc-placement
@ -178,7 +179,7 @@ parts:
- toml - toml
- setuptools-rust - setuptools-rust
- Cython - Cython
constraints: python-constraints:
- https://raw.githubusercontent.com/openstack/requirements/stable/zed/upper-constraints.txt - https://raw.githubusercontent.com/openstack/requirements/stable/zed/upper-constraints.txt
build-packages: build-packages:
- libffi-dev - libffi-dev
@ -191,7 +192,7 @@ parts:
- rustc - rustc
- cargo - cargo
override-prime: | override-prime: |
snapcraftctl prime craftctl default
# This is the last step, let's now compile all our pyc files. # This is the last step, let's now compile all our pyc files.
./bin/python3 -m compileall . ./bin/python3 -m compileall .
# Generate completer script snippets # Generate completer script snippets