Package: toolz
Version: 0.11.1-1
Followup-For: Bug #1001488
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch
Control: tags -1 patch

Please find attached a trivial 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 toolz-0.11.1/debian/patches/python-3.10.patch 
toolz-0.11.1/debian/patches/python-3.10.patch
--- toolz-0.11.1/debian/patches/python-3.10.patch       1969-12-31 
16:00:00.000000000 -0800
+++ toolz-0.11.1/debian/patches/python-3.10.patch       2021-12-11 
10:47:23.000000000 -0800
@@ -0,0 +1,18 @@
+Description: compatibility with python 3.10
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Bug-Debian: https://bugs.debian.org/1001488
+Last-Update: 2021-12-11
+Forwarded: no
+
+Index: toolz-0.11.1/toolz/tests/test_inspect_args.py
+===================================================================
+--- toolz-0.11.1.orig/toolz/tests/test_inspect_args.py
++++ toolz-0.11.1/toolz/tests/test_inspect_args.py
+@@ -396,6 +396,7 @@
+     add_blacklist(builtins, 'NoneType')
+     add_blacklist(builtins, '__metaclass__')
+     add_blacklist(builtins, 'sequenceiterator')
++    add_blacklist(builtins, 'anext')
+ 
+     def is_missing(modname, name, func):
+         if name.startswith('_') and not name.startswith('__'):
diff -Nru toolz-0.11.1/debian/patches/series toolz-0.11.1/debian/patches/series
--- toolz-0.11.1/debian/patches/series  1969-12-31 16:00:00.000000000 -0800
+++ toolz-0.11.1/debian/patches/series  2021-12-11 10:45:46.000000000 -0800
@@ -0,0 +1 @@
+python-3.10.patch

Reply via email to