From ab4c9fd15ccd8c17da422720d786fe05b1aaed40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Tue, 26 May 2020 21:49:22 +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: I097b2d0349083cad1908db8dc25a33d9ad492adb --- 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 1e9ba06b..20e147e5 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -25,7 +25,7 @@ idna==2.6 imagesize==1.0.0 iso8601==0.1.12 Jinja2==2.10 -jsonschema==2.6.0 +jsonschema==3.2.0 keystoneauth1==3.4.0 linecache2==1.0.0 MarkupSafe==1.0 diff --git a/requirements.txt b/requirements.txt index e217936b..e537c3ad 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,7 @@ stevedore>=1.20.0 # Apache-2.0 eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT six>=1.10.0 # MIT -jsonschema>=2.6.0 # MIT +jsonschema>=3.2.0 # MIT keystoneauth1>=3.4.0 # Apache-2.0 python-keystoneclient>=3.8.0 # Apache-2.0 requests>=2.14.2 # Apache-2.0