From 8119b21452c53cb6200bfe30137ba28a90126f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Tue, 26 May 2020 21:57:47 +0200 Subject: [PATCH] Cap jsonschema 3.2.0 as the minimal version Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1]. Python 3.8 is part of the victoria supported runtimes [2] so we now force to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure that everything works with python 3 in general. [1] https://github.com/Julian/jsonschema/pull/627 [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria Change-Id: I2816360b59f82c996038929ed6e90b744feb3f75 --- lower-constraints.txt | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index b1ff0bc9b1..9245c1a002 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -53,7 +53,7 @@ Jinja2==2.10 jmespath==0.9.3 jsonpatch==1.21 jsonpointer==2.0 -jsonschema==2.6.0 +jsonschema==3.2.0 keystoneauth1==3.4.0 keystonemiddleware==4.17.0 kombu==4.1.0 diff --git a/requirements.txt b/requirements.txt index 93c1df0bcf..c600d9909e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -42,7 +42,7 @@ diskimage-builder>=2.24.0 # Apache-2.0 castellan>=0.16.0 # Apache-2.0 tenacity>=5.0.4 # Apache-2.0 distro>=1.2.0 # Apache-2.0 -jsonschema>=2.6.0 # MIT +jsonschema>=3.2.0 # MIT octavia-lib>=2.0.0 # Apache-2.0 netaddr>=0.7.19 # BSD simplejson>=3.13.2 # MIT