diff options
author | Hervé Beraud <hberaud@redhat.com> | 2020-05-26 21:57:11 +0200 |
---|---|---|
committer | Hervé Beraud <hberaud@redhat.com> | 2020-05-26 21:57:11 +0200 |
commit | 325e51f1b029f8e8c79a119b1632f873e6328865 (patch) | |
tree | 2ffb34e0677df432c4a7901842e6f33d01eb6987 | |
parent | 3f3627b8611bac3441f256b280a0cb7b30c1abd3 (diff) | |
download | nova-325e51f1b029f8e8c79a119b1632f873e6328865.tar.gz |
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: Ic8246b83563444501fe6d31712ea64d39e88140d
-rw-r--r-- | lower-constraints.txt | 2 | ||||
-rw-r--r-- | requirements.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lower-constraints.txt b/lower-constraints.txt index d1134653b1..b7d5372fd6 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -42,7 +42,7 @@ jsonpatch==1.21 jsonpath-rw==1.4.0 jsonpath-rw-ext==1.1.3 jsonpointer==2.0 -jsonschema==2.6.0 +jsonschema==3.2.0 keystoneauth1==3.16.0 keystonemiddleware==4.20.0 kombu==4.1.0 diff --git a/requirements.txt b/requirements.txt index 66e8b7ca43..8a08f9c691 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,7 +23,7 @@ netaddr>=0.7.18 # BSD netifaces>=0.10.4 # MIT paramiko>=2.0.0 # LGPLv2.1+ iso8601>=0.1.11 # MIT -jsonschema>=2.6.0 # MIT +jsonschema>=3.2.0 # MIT python-cinderclient!=4.0.0,>=3.3.0 # Apache-2.0 keystoneauth1>=3.16.0 # Apache-2.0 python-neutronclient>=6.7.0 # Apache-2.0 |