Package: circuits
Version: 3.1.0+ds1-2
Followup-For: Bug #1001244
User: [email protected]
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/
[email protected]                                     [email protected]
diff -Nru circuits-3.1.0+ds1/debian/patches/python-3.10.patch 
circuits-3.1.0+ds1/debian/patches/python-3.10.patch
--- circuits-3.1.0+ds1/debian/patches/python-3.10.patch 1969-12-31 
16:00:00.000000000 -0800
+++ circuits-3.1.0+ds1/debian/patches/python-3.10.patch 2021-12-10 
12:02:12.000000000 -0800
@@ -0,0 +1,18 @@
+Description: compatibility with python 3.10
+Author: Steve Langasek <[email protected]>
+Last-Update: 2021-12-10
+Forwarded: no
+
+Index: circuits-3.1.0+ds1/circuits/core/handlers.py
+===================================================================
+--- circuits-3.1.0+ds1.orig/circuits/core/handlers.py
++++ circuits-3.1.0+ds1/circuits/core/handlers.py
+@@ -7,7 +7,7 @@
+ """
+ 
+ from inspect import getargspec
+-from collections import Callable
++from collections.abc import Callable
+ 
+ 
+ def handler(*names, **kwargs):
diff -Nru circuits-3.1.0+ds1/debian/patches/series 
circuits-3.1.0+ds1/debian/patches/series
--- circuits-3.1.0+ds1/debian/patches/series    2019-08-05 00:03:56.000000000 
-0700
+++ circuits-3.1.0+ds1/debian/patches/series    2021-12-10 12:01:30.000000000 
-0800
@@ -3,3 +3,4 @@
 03_disable-address-check.patch
 04_remove-google-adsense.patch
 05_remove-privacy-breach-badges.patch
+python-3.10.patch
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to