summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Falcon <james.falcon@canonical.com>2021-09-30 18:26:50 -0500
committerGitHub <noreply@github.com>2021-09-30 17:26:50 -0600
commit392c3262dcb4108b42f09e1369d9072502302361 (patch)
treeefdb5921efd62c5a392ea8832da30d8b2a718cd7
parentba083245537abd5bf5942fbe851e21eb8f245000 (diff)
downloadcloud-init-git-392c3262dcb4108b42f09e1369d9072502302361.tar.gz
pin jsonschema in requirements.txt (#1043)
On unit tests, tox is attempting to install 4.0, which fails two of the unit tests, and fails python 3.5 as it is not compatible.
-rw-r--r--requirements.txt2
-rw-r--r--test-requirements.txt1
-rw-r--r--tox.ini1
3 files changed, 3 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt
index c4adc455..27cef184 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -31,7 +31,7 @@ requests
jsonpatch
# For validating cloud-config sections per schema definitions
-jsonschema
+jsonschema==3.2.0
# Used by DataSourceVMware to inspect the host's network configuration during
# the "setup()" function.
diff --git a/test-requirements.txt b/test-requirements.txt
index 0a6a04d4..61fb9b03 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -5,3 +5,4 @@ pytest-cov
# Only really needed on older versions of python
setuptools
+jsonschema==3.2.0
diff --git a/tox.ini b/tox.ini
index 214fb623..20e3b227 100644
--- a/tox.ini
+++ b/tox.ini
@@ -77,6 +77,7 @@ deps =
pyserial==3.0.1
configobj==5.0.6
requests==2.9.1
+ jsonschema==3.2.0
# test-requirements
pytest-catchlog==1.2.1