From b0c411b22a65b41752dc580db28e6ee720b405e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Tue, 26 May 2020 22:15:26 +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: Id476227552c3fa91eecadbc6c4370c354f56a40d --- 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 19e422872..db242f237 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -42,7 +42,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.21.0 kombu==4.1.0 diff --git a/requirements.txt b/requirements.txt index 55fb2f7c6..14d78ac5a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ apscheduler>=3.5.1 # MIT License jsonpatch>=1.21 # BSD keystoneauth1>=3.4.0 # Apache-2.0 -jsonschema>=2.6.0 # MIT +jsonschema>=3.2.0 # MIT keystonemiddleware>=4.21.0 # Apache-2.0 lxml>=4.1.1 # BSD croniter>=0.3.20 # MIT License