From 0ff904a49bbd4e21d440ea12a2e58669968314b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Tue, 26 May 2020 21:47:49 +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: I24655eef016933d1607a8c7764c91073ff5cbdaf --- 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 6c3a356c1..f3e230ab4 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -37,7 +37,7 @@ jmespath==0.9.3 jsonpatch==1.21 jsonpath-rw==1.2.0 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 dc4477a53..3e3027564 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ # process, which may cause wedges in the gate later. eventlet!=0.18.3,!=0.20.1,!=0.23.0,!=0.25.0,>=0.18.2 # MIT -jsonschema>=2.6.0 # MIT +jsonschema>=3.2.0 # MIT PuLP>=1.4.1 # MIT keystoneauth1>=3.4.0 # Apache-2.0 keystonemiddleware>=4.17.0 # Apache-2.0