[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1033889: unblock: arriero/0.7~20161228-1.2



Package: release.debian.org
Control: affects -1 + src:arriero
X-Debbugs-Cc: josef81sch@gmail.com, thep@debian.org, maxy@debian.org
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package arriero.

[ Reason ]
This update allows the program to run without error by importing the collections.abc python package and using it in replacement of the collections python package with the MutableSet attribute (see #1032380).

[ Impact ]
With this fix, the program does not throw an AttributeError when running the arriero --help command or other commands. arriero has no reverse-dependencies, so there is no impact on other packages.

[ Tests ]
dh_auto_test runs during the build and would fail the build if tests failed. I installed the new .deb and ran arriero --help with the expected output, and the updates were reviewed by the DD who signed and uploaded the package. I have an autopkgtest ready if needed but I kept the upload minimal.

[ Risks ]
arriero has no reverse-dependencies so there are no risks.

[ Checklist ]
  [X] all changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in testing

unblock: arriero/0.7~20161228-1.2

--
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 <josef81sch@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 <josef81sch@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 to: