summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHervé Beraud <hberaud@redhat.com>2020-05-26 21:48:12 +0200
committerHervé Beraud <hberaud@redhat.com>2020-05-26 21:48:12 +0200
commit0a411a5097ef8a9c881405a654cd881b93fc7c77 (patch)
tree5a6ae1812f7c365c05e1376cf5257da5d13c65b8
parent7428bcef5b261f7606ad1e3d7fa31d85d4b76f76 (diff)
downloaddesignate-0a411a5097ef8a9c881405a654cd881b93fc7c77.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: I8a1efc079591da32f9b1cb200b6507e5ed968673
-rw-r--r--lower-constraints.txt2
-rw-r--r--requirements.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/lower-constraints.txt b/lower-constraints.txt
index f6d6657f..8db3f467 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -49,7 +49,7 @@ Jinja2==2.10
jmespath==0.9.3
jsonpatch==1.21
jsonpointer==2.0
-jsonschema==2.6.0
+jsonschema==3.2.0
kazoo==2.4.0
keystoneauth1==3.4.0
keystonemiddleware==4.17.0
diff --git a/requirements.txt b/requirements.txt
index c61f279a..7e40c2d3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -7,7 +7,7 @@ eventlet>=0.25.1 # MIT
Flask!=0.11,>=0.10 # BSD
greenlet>=0.4.10 # MIT
Jinja2>=2.10 # BSD License (3 clause)
-jsonschema>=2.6.0 # MIT
+jsonschema>=3.2.0 # MIT
keystoneauth1>=3.4.0 # Apache-2.0
keystonemiddleware>=4.17.0 # Apache-2.0
netaddr>=0.7.18 # BSD