From 392c3262dcb4108b42f09e1369d9072502302361 Mon Sep 17 00:00:00 2001 From: James Falcon Date: Thu, 30 Sep 2021 18:26:50 -0500 Subject: 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. --- requirements.txt | 2 +- test-requirements.txt | 1 + tox.ini | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3