From aa10eb7bcbb96d78ac923735db0753472ee059a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Tue, 26 May 2020 22:03:14 +0200 Subject: 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: I8e91b4b19d6d71e052061074ad927623a2892830 --- lower-constraints.txt | 2 +- test-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lower-constraints.txt b/lower-constraints.txt index d27b6b0..9133c2e 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -16,7 +16,7 @@ idna==2.6 iso8601==0.1.12 jsonpatch==1.16 jsonpointer==1.13 -jsonschema==2.6.0 +jsonschema==3.2.0 keystoneauth1==3.4.0 linecache2==1.0.0 mccabe==0.2.1 diff --git a/test-requirements.txt b/test-requirements.txt index 8a6808e..9c1e25f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,7 +7,7 @@ hacking>=1.1.0,<1.2.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 extras>=1.0.0 # MIT fixtures>=3.0.0 # Apache-2.0/BSD -jsonschema>=2.6.0 # MIT +jsonschema>=3.2.0 # MIT python-glanceclient>=2.8.0 # Apache-2.0 python-subunit>=1.0.0 # Apache-2.0/BSD oslotest>=3.2.0 # Apache-2.0 -- cgit v1.2.1