From 28a63e61e6f602c87d0b5ab1aa5b5b632905785b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Tue, 26 May 2020 22:11:24 +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: I4168b4798c8bd7dc4d28a4bf3e6c57b3c76012df --- 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 5b36e8e..760d9b2 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -8,7 +8,7 @@ flake8==2.5.5 hacking==0.12.0 httplib2==0.9.1 iso8601==0.1.11 -jsonschema==2.6.0 +jsonschema==3.2.0 keystoneauth1==3.4.0 linecache2==1.0.0 mccabe==0.2.1 diff --git a/requirements.txt b/requirements.txt index d0ded9a..3b9a7a0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,7 @@ oslo.utils>=3.33.0 # Apache-2.0 oslo.log>=3.36.0 # Apache-2.0 httplib2>=0.9.1 # MIT iso8601>=0.1.11 # MIT -jsonschema>=2.6.0 # MIT +jsonschema>=3.2.0 # MIT requests>=2.14.2 # Apache-2.0 python-keystoneclient>=3.8.0 # Apache-2.0 PyYAML>=3.12 # MIT