diff options
author | James Falcon <james.falcon@canonical.com> | 2021-09-30 18:26:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 17:26:50 -0600 |
commit | 392c3262dcb4108b42f09e1369d9072502302361 (patch) | |
tree | efdb5921efd62c5a392ea8832da30d8b2a718cd7 | |
parent | ba083245537abd5bf5942fbe851e21eb8f245000 (diff) | |
download | vyos-cloud-init-392c3262dcb4108b42f09e1369d9072502302361.tar.gz vyos-cloud-init-392c3262dcb4108b42f09e1369d9072502302361.zip |
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.txt | 2 | ||||
-rw-r--r-- | test-requirements.txt | 1 | ||||
-rw-r--r-- | tox.ini | 1 |
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 @@ -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 |