Package: python-cytoolz Version: 0.11.0-1 Followup-For: Bug #999405 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jammy ubuntu-patch Control: tags -1 patch
Attached is a patch for this issue, in line with the previous fix for python3.7 compatibility. -- 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 python-cytoolz-0.11.0/debian/patches/python-3.10.patch python-cytoolz-0.11.0/debian/patches/python-3.10.patch --- python-cytoolz-0.11.0/debian/patches/python-3.10.patch 1969-12-31 16:00:00.000000000 -0800 +++ python-cytoolz-0.11.0/debian/patches/python-3.10.patch 2021-11-17 21:58:54.000000000 -0800 @@ -0,0 +1,17 @@ +Description: Python 3.10 compatibility +Author: Steve Langasek <steve.langa...@ubuntu.com> +Bug-Debian: https://bugs.debian.org/999405 +Last-Update: 2021-11-17 + +Index: python-cytoolz-0.11.0/cytoolz/tests/test_inspect_args.py +=================================================================== +--- python-cytoolz-0.11.0.orig/cytoolz/tests/test_inspect_args.py ++++ python-cytoolz-0.11.0/cytoolz/tests/test_inspect_args.py +@@ -397,6 +397,7 @@ + add_blacklist(builtins, '__metaclass__') + add_blacklist(builtins, 'sequenceiterator') + add_blacklist(builtins, 'breakpoint') ++ add_blacklist(builtins, 'anext') + + def is_missing(modname, name, func): + if name.startswith('_') and not name.startswith('__'): diff -Nru python-cytoolz-0.11.0/debian/patches/series python-cytoolz-0.11.0/debian/patches/series --- python-cytoolz-0.11.0/debian/patches/series 2020-11-26 12:15:52.000000000 -0800 +++ python-cytoolz-0.11.0/debian/patches/series 2021-11-17 21:54:04.000000000 -0800 @@ -1,2 +1,3 @@ py37.patch cythonize-post-cleaning.patch +python-3.10.patch