summaryrefslogtreecommitdiff
path: root/debian/patches/stable-release-no-jsonschema-dep.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/stable-release-no-jsonschema-dep.patch')
-rw-r--r--debian/patches/stable-release-no-jsonschema-dep.patch21
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