projects/aports·blob master · refs

24 lines · 789 B

1From: Dermot Bradley <[email protected]>
2Date: Thu, 19 Nov 2020 22:34 +0000
3Subject: [PATCH] cloud-init: Remove oauthlib from requirements.txt
4
5oauthlib is only used by the MAAS datasource. Remove it from the Python
6requirements.txt file in order to reduce package dependencies. If someone
7wishes to use the MAAS datasource they can simply add the py3-oauthlib
8package.
9
10---
11
12diff -aur a/requirements.txt b/requirements.txt
13--- a/requirements.txt
14+++ b/requirements.txt
15@@ -5,7 +5,8 @@
16
17 # This one is currently only used by the MAAS datasource and the Event
18 # reporting feature when configured to use webhooks.
19-oauthlib
20+#
21+# oauthlib
22
23 # This one is currently used only by the CloudSigma and SmartOS datasources.
24 # If these datasources are removed, this is no longer needed.