Pin jsonschema to avoid Noble rust version issues
Newer jsonschema requires a version of rustc and cargo that to not exist in Noble. Pinning jsonschema to native Noble version to solve. Change-Id: If2e69c000c0f38313dc1abbb3dc6d66fa38949d9 Signed-off-by: Myles Penner <myles.penner@canonical.com>
This commit is contained in:
@@ -14,14 +14,7 @@ parts:
|
|||||||
- libssl-dev
|
- libssl-dev
|
||||||
- libxml2-dev
|
- libxml2-dev
|
||||||
- libxslt1-dev
|
- libxslt1-dev
|
||||||
- rustc-1.76
|
|
||||||
- cargo-1.76
|
|
||||||
- pkg-config
|
- pkg-config
|
||||||
override-build: |
|
|
||||||
# Note(mylesjp): Force build to use rustc-1.76
|
|
||||||
ln -s /usr/bin/rustc-1.76 /usr/bin/rustc
|
|
||||||
ln -s /usr/bin/cargo-1.76 /usr/bin/cargo
|
|
||||||
craftctl default
|
|
||||||
source: src/
|
source: src/
|
||||||
build-snaps:
|
build-snaps:
|
||||||
- charm/latest/edge
|
- charm/latest/edge
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ psycopg2-binary # vault
|
|||||||
tenacity # vault
|
tenacity # vault
|
||||||
pbr==5.6.0 # vault
|
pbr==5.6.0 # vault
|
||||||
cryptography<3.4 # vault, keystone-saml-mellon
|
cryptography<3.4 # vault, keystone-saml-mellon
|
||||||
|
jsonschema<=4.10 # Avoid Rust requirement error on Noble
|
||||||
lxml # keystone-saml-mellon
|
lxml # keystone-saml-mellon
|
||||||
hvac # vault, barbican-vault
|
hvac # vault, barbican-vault
|
||||||
psutil # cinder-lvm
|
psutil # cinder-lvm
|
||||||
|
|||||||
Reference in New Issue
Block a user