From 0debd0ab3104812e92f6927c91d38fbeec768d98 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 29 Jun 2017 16:56:59 -0400 Subject: 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. --- debian/patches/series | 1 + .../patches/stable-release-no-jsonschema-dep.patch | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 debian/patches/stable-release-no-jsonschema-dep.patch diff --git a/debian/patches/series b/debian/patches/series index 7669c82f..7e909afc 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ azure-use-walinux-agent.patch ds-identify-behavior-xenial.patch +stable-release-no-jsonschema-dep.patch 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 + +--- 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 -- cgit v1.2.3