Attaching debdiff for removing the two dependencies
diff -Nru duplicity-3.0.3.2/debian/changelog duplicity-3.0.3.2/debian/changelog
--- duplicity-3.0.3.2/debian/changelog 2024-12-29 11:57:50.000000000 +0100
+++ duplicity-3.0.3.2/debian/changelog 2025-01-13 12:07:00.000000000 +0100
@@ -1,3 +1,13 @@
+duplicity (3.0.3.2-2) unstable; urgency=medium
+
+ * d/p/01-debloat.patch: Remove more dependencies (Closes: #1092913)
+ - python3-keyring: is not used by any backend
+ - python3-requests-oauthlib: all backends that use this are set up to
+ gracefully handle the missing dependency by showing an error message
+ that suggests to install it.
+
+ -- Alessandro Astone <alessandro.ast...@canonical.com> Mon, 13 Jan 2025
12:07:00 +0100
+
duplicity (3.0.3.2-1) unstable; urgency=medium
* new upstream release (closes: #1090373)
diff -Nru duplicity-3.0.3.2/debian/patches/01-debloat
duplicity-3.0.3.2/debian/patches/01-debloat
--- duplicity-3.0.3.2/debian/patches/01-debloat 2024-12-29 11:57:50.000000000
+0100
+++ duplicity-3.0.3.2/debian/patches/01-debloat 2025-01-13 11:08:24.000000000
+0100
@@ -1,5 +1,7 @@
---- a/requirements.txt
-+++ b/requirements.txt
+Index: duplicity-3.0.3.2/requirements.txt
+===================================================================
+--- duplicity-3.0.3.2.orig/requirements.txt
++++ duplicity-3.0.3.2/requirements.txt
@@ -7,29 +7,29 @@ setuptools
##### backend libraries #####
@@ -28,8 +30,9 @@
+#google-auth-oauthlib
httplib2
-jottalib
+-keyring
+#jottalib
- keyring
++#keyring
lxml
-mediafire
-megatools
@@ -47,4 +50,5 @@
+#python-swiftclient
+#python-keystoneclient
requests
- requests-oauthlib
+-requests-oauthlib
++#requests-oauthlib