Package: scoop
Version: 0.7.1.1-7
Followup-For: Bug #1001483
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch
Control: tags -1 patch

Please find attached a trivial patch for this bug.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru scoop-0.7.1.1/debian/patches/python-3.10.patch 
scoop-0.7.1.1/debian/patches/python-3.10.patch
--- scoop-0.7.1.1/debian/patches/python-3.10.patch      1969-12-31 
16:00:00.000000000 -0800
+++ scoop-0.7.1.1/debian/patches/python-3.10.patch      2021-12-11 
10:14:53.000000000 -0800
@@ -0,0 +1,20 @@
+Description: Compatibility with python 3.10
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Bug-Debian: https://bugs.debian.org/1001483
+Last-Update: 2021-12-11
+Forwarded: no
+
+Index: scoop-0.7.1.1/scoop/futures.py
+===================================================================
+--- scoop-0.7.1.1.orig/scoop/futures.py
++++ scoop-0.7.1.1/scoop/futures.py
+@@ -16,7 +16,8 @@
+ #
+ import os
+ from inspect import ismethod
+-from collections import namedtuple, Iterable
++from collections import namedtuple
++from collections.abc import Iterable
+ from functools import partial, reduce
+ import itertools
+ import copy
diff -Nru scoop-0.7.1.1/debian/patches/series 
scoop-0.7.1.1/debian/patches/series
--- scoop-0.7.1.1/debian/patches/series 2020-04-21 10:05:49.000000000 -0700
+++ scoop-0.7.1.1/debian/patches/series 2021-12-11 10:13:39.000000000 -0800
@@ -4,3 +4,4 @@
 sphinx.ext.pngmath.patch
 Call-wait-on-killed-child-processes.patch
 Adapt-conf.py-for-sphinx-2.0.patch
+python-3.10.patch

Reply via email to