Package: sortedcollections
Version: 1.0.1-1
Followup-For: Bug #1001486
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch
Control: tags -1 patch

Please find attached a patch for this issue.

-- 
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 sortedcollections-1.0.1/debian/patches/python-3.10.patch 
sortedcollections-1.0.1/debian/patches/python-3.10.patch
--- sortedcollections-1.0.1/debian/patches/python-3.10.patch    1969-12-31 
16:00:00.000000000 -0800
+++ sortedcollections-1.0.1/debian/patches/python-3.10.patch    2021-12-11 
10:38:43.000000000 -0800
@@ -0,0 +1,32 @@
+Description: Compatibility with python 3.10
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Bug-Debian: https://bugs.debian.org/1001486
+Last-Update: 2021-12-11
+Forwarded: no
+
+Index: sortedcollections-1.0.1/sortedcollections/recipes.py
+===================================================================
+--- sortedcollections-1.0.1.orig/sortedcollections/recipes.py
++++ sortedcollections-1.0.1/sortedcollections/recipes.py
+@@ -2,7 +2,7 @@
+ 
+ """
+ 
+-import collections as co
++import collections.abc as co
+ from itertools import count
+ from sortedcontainers import SortedKeyList, SortedDict, SortedSet
+ from sortedcontainers.sortedlist import recursive_repr
+Index: sortedcollections-1.0.1/sortedcollections/ordereddict.py
+===================================================================
+--- sortedcollections-1.0.1.orig/sortedcollections/ordereddict.py
++++ sortedcollections-1.0.1/sortedcollections/ordereddict.py
+@@ -2,7 +2,7 @@
+ 
+ """
+ 
+-import collections as co
++import collections.abc as co
+ from itertools import count
+ from operator import eq
+ import sys
diff -Nru sortedcollections-1.0.1/debian/patches/series 
sortedcollections-1.0.1/debian/patches/series
--- sortedcollections-1.0.1/debian/patches/series       2018-06-18 
14:09:16.000000000 -0700
+++ sortedcollections-1.0.1/debian/patches/series       2021-12-11 
10:37:49.000000000 -0800
@@ -1,2 +1,3 @@
 0001-Remove-Google-analytics-account-ID.patch
 0002-remove-github-buttons.patch
+python-3.10.patch

Reply via email to