From 325e51f1b029f8e8c79a119b1632f873e6328865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Tue, 26 May 2020 21:57:11 +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: Ic8246b83563444501fe6d31712ea64d39e88140d --- 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 d1134653b1d7..b7d5372fd617 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -42,7 +42,7 @@ jsonpatch==1.21 jsonpath-rw==1.4.0 jsonpath-rw-ext==1.1.3 jsonpointer==2.0 -jsonschema==2.6.0 +jsonschema==3.2.0 keystoneauth1==3.16.0 keystonemiddleware==4.20.0 kombu==4.1.0 diff --git a/requirements.txt b/requirements.txt index 66e8b7ca43ce..8a08f9c69154 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,7 +23,7 @@ netaddr>=0.7.18 # BSD netifaces>=0.10.4 # MIT paramiko>=2.0.0 # LGPLv2.1+ iso8601>=0.1.11 # MIT -jsonschema>=2.6.0 # MIT +jsonschema>=3.2.0 # MIT python-cinderclient!=4.0.0,>=3.3.0 # Apache-2.0 keystoneauth1>=3.16.0 # Apache-2.0 python-neutronclient>=6.7.0 # Apache-2.0