aboutsummaryrefslogtreecommitdiffstats
path: root/community/cloud-init/01-oauthlib-remove.patch
blob: af65255bffc5d07e273bc8a03f36ec62debee2e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Dermot Bradley <dermot_bradley@yahoo.com>
Date: Thu, 19 Nov 2020 22:34 +0000
Subject: [PATCH] cloud-init: Remove oauthlib from requirements.txt

oauthlib is only used by the MAAS datasource. Remove it from the Python
requirements.txt file in order to reduce package dependencies. If someone
wishes to use the MAAS datasource they can simply add the py3-oauthlib
package.

---

diff -aur a/requirements.txt b/requirements.txt
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,7 +5,8 @@
 
 # This one is currently only used by the MAAS datasource. If that
 # datasource is removed, this is no longer needed
-oauthlib
+#
+# oauthlib
 
 # This one is currently used only by the CloudSigma and SmartOS datasources.
 # If these datasources are removed, this is no longer needed.