Control: tags 1084287 + patch
Control: tags 1084287 + pending


Dear maintainer,

I've prepared an NMU for libei (versioned as 1.3.0-1.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru libei-1.3.0/debian/changelog libei-1.3.0/debian/changelog
--- libei-1.3.0/debian/changelog        2024-08-15 13:12:06.000000000 +0000
+++ libei-1.3.0/debian/changelog        2025-01-04 13:56:48.000000000 +0000
@@ -1,3 +1,13 @@
+libei (1.3.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Rebecca N. Palmer ]
+  * Work around infinite recursion in test using a minimal fix.
+    (Closes: #1084287)
+
+ -- Niels Thykier <ni...@thykier.net>  Sat, 04 Jan 2025 13:56:48 +0000
+
 libei (1.3.0-1) unstable; urgency=medium
    * New upstream release
diff -Nru libei-1.3.0/debian/patches/fix-infinite-recursion.patch libei-1.3.0/debian/patches/fix-infinite-recursion.patch --- libei-1.3.0/debian/patches/fix-infinite-recursion.patch 1970-01-01 00:00:00.000000000 +0000 +++ libei-1.3.0/debian/patches/fix-infinite-recursion.patch 2025-01-04 13:56:02.000000000 +0000
@@ -0,0 +1,25 @@
+Description: Work around infinite recursion in test using a minimal fix
+ .
+ Upstream rewrote the code to use dataclasses, so this patch will be
+ obsolete with next release.
+Author: "Rebecca N. Palmer" <rebecca_pal...@zoho.com>
+Bug-Debian: https://bugs.debian.org/1084287
+Forwarded: not-needed
+Last-Update: 2025-01-04
+
+--- libei-1.3.0.orig/proto/ei-scanner
++++ libei-1.3.0/proto/ei-scanner
+@@ -152,6 +152,13 @@ class Argument:
+             allow_null=allow_null,
+         )
+ ++    ++# avoid infinite _arg / _arg_for recursion (#1084247)
++inner_attribute_eq = Attribute.__eq__
++Attribute.__eq__ = lambda self, other: (self is other or
++           inner_attribute_eq(self, other))
++del inner_attribute_eq
++
+ + @attr.s
+ class Message:
diff -Nru libei-1.3.0/debian/patches/series libei-1.3.0/debian/patches/series
--- libei-1.3.0/debian/patches/series   2024-08-15 13:12:06.000000000 +0000
+++ libei-1.3.0/debian/patches/series   2025-01-04 13:53:51.000000000 +0000
@@ -1 +1,2 @@
 disable_sigalrm_tests.patch
+fix-infinite-recursion.patch

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to