Control: tags 1002165 + patch Control: tags 1002165 + pending Dear maintainer,
I've prepared an NMU for isbnlib (versioned as 3.9.3-1.2) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it. cu Adrian
diff -Nru isbnlib-3.9.3/debian/changelog isbnlib-3.9.3/debian/changelog --- isbnlib-3.9.3/debian/changelog 2019-10-04 02:46:17.000000000 +0300 +++ isbnlib-3.9.3/debian/changelog 2022-02-05 07:29:00.000000000 +0200 @@ -1,3 +1,11 @@ +isbnlib (3.9.3-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Add upstream fix for compatibility with Python 3.10. + (Closes: #1002165) + + -- Adrian Bunk <b...@debian.org> Sat, 05 Feb 2022 07:29:00 +0200 + isbnlib (3.9.3-1.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru isbnlib-3.9.3/debian/patches/0001-fix-61.patch isbnlib-3.9.3/debian/patches/0001-fix-61.patch --- isbnlib-3.9.3/debian/patches/0001-fix-61.patch 1970-01-01 02:00:00.000000000 +0200 +++ isbnlib-3.9.3/debian/patches/0001-fix-61.patch 2022-02-05 07:26:11.000000000 +0200 @@ -0,0 +1,28 @@ +From 11d0092cb0fb3d177817e3a302918f54db97ba72 Mon Sep 17 00:00:00 2001 +From: Alexandre Conde <alexandreco...@hotmail.com> +Date: Mon, 21 Oct 2019 09:18:55 +0100 +Subject: fix #61 + +--- + isbnlib/_imcache.py | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/isbnlib/_imcache.py b/isbnlib/_imcache.py +index de126d0..deb599f 100644 +--- a/isbnlib/_imcache.py ++++ b/isbnlib/_imcache.py +@@ -1,7 +1,10 @@ + # -*- coding: utf-8 -*- + """Read and write to a dict-like cache.""" + +-from collections import MutableMapping ++try: ++ from collections.abc import MutableMapping ++except ImportError: # PY27 ++ from collections import MutableMapping + + + class IMCache(MutableMapping): +-- +2.20.1 + diff -Nru isbnlib-3.9.3/debian/patches/series isbnlib-3.9.3/debian/patches/series --- isbnlib-3.9.3/debian/patches/series 1970-01-01 02:00:00.000000000 +0200 +++ isbnlib-3.9.3/debian/patches/series 2022-02-05 07:29:00.000000000 +0200 @@ -0,0 +1 @@ +0001-fix-61.patch