Hello,

I have attached a debdiff where I import the collections.abc package which has the MutableSet attribute. With this fix, the package builds and `arriero --help` outputs the expected help menu. I can upload this RC bug fix as a NMU if you want. Thanks!

--
Josef Schneider

GPG Fingerprint 3267 0331 DB61 A817 7D25 4D05 5A44 BC12 F2A8 E58F
diff -Nru arriero-0.7~20161228/debian/changelog 
arriero-0.7~20161228/debian/changelog
--- arriero-0.7~20161228/debian/changelog       2022-04-29 01:44:11.000000000 
+0200
+++ arriero-0.7~20161228/debian/changelog       2023-03-24 13:10:39.000000000 
+0100
@@ -1,3 +1,10 @@
+arriero (0.7~20161228-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to import collections.abc in util.py (Closes: #1032380).
+
+ -- Josef Schneider <josef81...@gmail.com>  Fri, 24 Mar 2023 13:10:39 +0100
+
 arriero (0.7~20161228-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru arriero-0.7~20161228/debian/patches/0001-import-collections-abc.patch 
arriero-0.7~20161228/debian/patches/0001-import-collections-abc.patch
--- arriero-0.7~20161228/debian/patches/0001-import-collections-abc.patch       
1970-01-01 01:00:00.000000000 +0100
+++ arriero-0.7~20161228/debian/patches/0001-import-collections-abc.patch       
2023-03-24 13:10:39.000000000 +0100
@@ -0,0 +1,33 @@
+From 409dd804c2abb119582378cd6fa098ad8df01f3d Mon Sep 17 00:00:00 2001
+From: Josef Schneider <josef81...@gmail.com>
+Date: Fri, 17 Mar 2023 13:16:43 +0100
+Subject: [PATCH] import collections.abc
+
+---
+ arriero/util.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/arriero/util.py b/arriero/util.py
+index 91e4121..07f877a 100644
+--- a/arriero/util.py
++++ b/arriero/util.py
+@@ -17,6 +17,7 @@
+ # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ 
+ import collections
++import collections.abc
+ import fcntl
+ import io
+ import itertools
+@@ -185,7 +186,7 @@ def chain_map(*ds, **kw):
+     return ChainMap(*itertools.chain(ds, [kw]))
+ 
+ 
+-class OrderedSet(deb822.OrderedSet, collections.MutableSet):
++class OrderedSet(deb822.OrderedSet, collections.abc.MutableSet):
+ 
+     discard = deb822.OrderedSet.remove
+ 
+-- 
+2.38.1
+
diff -Nru arriero-0.7~20161228/debian/patches/series 
arriero-0.7~20161228/debian/patches/series
--- arriero-0.7~20161228/debian/patches/series  1970-01-01 01:00:00.000000000 
+0100
+++ arriero-0.7~20161228/debian/patches/series  2023-03-24 13:10:39.000000000 
+0100
@@ -0,0 +1 @@
+0001-import-collections-abc.patch

Attachment: OpenPGP_0x5A44BC12F2A8E58F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to