diff options
author | Scott Moser <smoser@brickies.net> | 2017-06-29 16:56:59 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-06-29 17:04:24 -0400 |
commit | 0debd0ab3104812e92f6927c91d38fbeec768d98 (patch) | |
tree | 14af42ab103e572346416f9bc9cb52b6773bf23f /debian/patches/stable-release-no-jsonschema-dep.patch | |
parent | 054f809941e5809e3225ca37513a309847db3896 (diff) | |
download | vyos-cloud-init-0debd0ab3104812e92f6927c91d38fbeec768d98.tar.gz vyos-cloud-init-0debd0ab3104812e92f6927c91d38fbeec768d98.zip |
Remove the optional dependency on jsonschema for stable release.
To make this acceptable as a SRU we keep the same dependencies as are
in the stable release.
The '${python3:Depends}' in debian/control would automatically add the
dependency if it is seen in requirements.txt.
Add a patch stable-release-no-jsonschema-dep.patch to fix.
Diffstat (limited to 'debian/patches/stable-release-no-jsonschema-dep.patch')
-rw-r--r-- | debian/patches/stable-release-no-jsonschema-dep.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/stable-release-no-jsonschema-dep.patch b/debian/patches/stable-release-no-jsonschema-dep.patch new file mode 100644 index 00000000..f8a11334 --- /dev/null +++ b/debian/patches/stable-release-no-jsonschema-dep.patch @@ -0,0 +1,21 @@ +Description: Remove the optional dependency on jsonschema for stable release. + To make this acceptable as a SRU we keep the same dependencies as are + in the stable release. + . + The '${python3:Depends}' in debian/control would automatically add the + dependency if it is seen in requirements.txt. +Forwarded: not-needed +Author: Scott Moser <smoser@ubuntu.com> + +--- a/requirements.txt ++++ b/requirements.txt +@@ -34,7 +34,8 @@ requests + jsonpatch + + # For validating cloud-config sections per schema definitions +-jsonschema ++## Do not add dependencies to a stable release (SRU). ++#jsonschema + + # For Python 2/3 compatibility + six |