Control: tags 1010313 + patch
Control: tags 1010313 + pending

Dear maintainer,

I've prepared an NMU for python-stem (versioned as 1.8.0-3.1) and
uploaded it to DELAYED/05. Please feel free to tell me if I
should delay it longer.

I've also pushed the changes to GitLab.

Regards.
diff -Nru python-stem-1.8.0/debian/changelog python-stem-1.8.0/debian/changelog
--- python-stem-1.8.0/debian/changelog	2020-12-25 15:47:27.000000000 -0500
+++ python-stem-1.8.0/debian/changelog	2022-05-26 15:54:48.000000000 -0400
@@ -1,3 +1,10 @@
+python-stem (1.8.0-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add support for Python 3.10 (Closes: #1010313)
+
+ -- Antoine Beaupré <anar...@debian.org>  Thu, 26 May 2022 15:54:48 -0400
+
 python-stem (1.8.0-3) unstable; urgency=medium
 
   * Make build reproducible (Closes: #963533)
diff -Nru python-stem-1.8.0/debian/patches/fix-python3.10.patch python-stem-1.8.0/debian/patches/fix-python3.10.patch
--- python-stem-1.8.0/debian/patches/fix-python3.10.patch	1969-12-31 19:00:00.000000000 -0500
+++ python-stem-1.8.0/debian/patches/fix-python3.10.patch	2022-05-26 15:54:48.000000000 -0400
@@ -0,0 +1,14 @@
+Description: Fix for Python 3.10
+Author: ju xor <j...@riseup.net>
+Last-Update: 2022-04-28
+--- a/stem/control.py
++++ b/stem/control.py
+@@ -2532,7 +2532,7 @@
+     for param, value in params:
+       if isinstance(value, str):
+         query_comp.append('%s="%s"' % (param, value.strip()))
+-      elif isinstance(value, collections.Iterable):
++      elif isinstance(value, collections.abc.Iterable):
+         query_comp.extend(['%s="%s"' % (param, val.strip()) for val in value])
+       elif not value:
+         query_comp.append(param)
diff -Nru python-stem-1.8.0/debian/patches/series python-stem-1.8.0/debian/patches/series
--- python-stem-1.8.0/debian/patches/series	2020-12-25 15:47:27.000000000 -0500
+++ python-stem-1.8.0/debian/patches/series	2022-05-26 15:54:48.000000000 -0400
@@ -1 +1,2 @@
 reproducible-build.patch
+fix-python3.10.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to