Dear maintainer

I've just uploaded the attached NMU as 0.1.10-3.1 in order to fix #1154534.

regards
Stuart


--
Stuart Prescott   http://www.nanonanonano.net/ [email protected]
Debian Developer  http://www.debian.org/       [email protected]
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
diff -Nru padaos-0.1.10/debian/changelog padaos-0.1.10/debian/changelog
--- padaos-0.1.10/debian/changelog      2022-12-30 23:41:23.000000000 +1100
+++ padaos-0.1.10/debian/changelog      2026-11-30 11:17:27.000000000 +1100
@@ -1,3 +1,11 @@
+padaos (0.1.10-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to change from sre_constants.error for Python 3.15
+    compatibility (Closes: #1154534).
+
+ -- Stuart Prescott <[email protected]>  Mon, 30 Nov 2026 11:17:27 +1100
+
 padaos (0.1.10-3) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru 
padaos-0.1.10/debian/patches/0001-Update-from-sre_constants.error-for-Python-3.15.patch
 
padaos-0.1.10/debian/patches/0001-Update-from-sre_constants.error-for-Python-3.15.patch
--- 
padaos-0.1.10/debian/patches/0001-Update-from-sre_constants.error-for-Python-3.15.patch
     1970-01-01 10:00:00.000000000 +1000
+++ 
padaos-0.1.10/debian/patches/0001-Update-from-sre_constants.error-for-Python-3.15.patch
     2026-11-30 11:17:27.000000000 +1100
@@ -0,0 +1,27 @@
+From: Stuart Prescott <[email protected]>
+Date: Mon, 30 Nov 2026 11:15:31 +1100
+Subject: Update from sre_constants.error for Python 3.15
+
+---
+ padaos.py | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/padaos.py b/padaos.py
+index 21c8529..38df16c 100644
+--- a/padaos.py
++++ b/padaos.py
+@@ -1,5 +1,4 @@
+ import re
+-import sre_constants
+ import logging
+ from threading import Lock
+ 
+@@ -106,7 +105,7 @@ class IntentContainer:
+         try:
+             return re.compile(self._create_intent_pattern(line, intent_name),
+                               re.IGNORECASE)
+-        except sre_constants.error as e:
++        except re.error as e:
+             LOG.warning('Failed to parse the line "{}" '
+                         'for {}'.format(line, intent_name))
+             return None
diff -Nru padaos-0.1.10/debian/patches/series 
padaos-0.1.10/debian/patches/series
--- padaos-0.1.10/debian/patches/series 1970-01-01 10:00:00.000000000 +1000
+++ padaos-0.1.10/debian/patches/series 2026-11-30 11:17:27.000000000 +1100
@@ -0,0 +1 @@
+0001-Update-from-sre_constants.error-for-Python-3.15.patch

Reply via email to