
All the external libraries supports pydantic 2.x So remove upper constraints on pydantic in requirements.txt and charmcraft.yaml for the charms. Change-Id: Ie654f6289e953511856c3daa1966cf9831dd4d98
31 lines
552 B
YAML
31 lines
552 B
YAML
type: "charm"
|
|
bases:
|
|
- build-on:
|
|
- name: "ubuntu"
|
|
channel: "22.04"
|
|
run-on:
|
|
- name: "ubuntu"
|
|
channel: "22.04"
|
|
parts:
|
|
update-certificates:
|
|
plugin: nil
|
|
override-build: |
|
|
apt update
|
|
apt install -y ca-certificates
|
|
update-ca-certificates
|
|
|
|
charm:
|
|
after: [update-certificates]
|
|
build-packages:
|
|
- git
|
|
- libffi-dev
|
|
- libssl-dev
|
|
- rustc
|
|
- cargo
|
|
- pkg-config
|
|
charm-binary-python-packages:
|
|
- cryptography
|
|
- jsonschema
|
|
- pydantic
|
|
- jinja2
|