Hello again,
as promised, I uploaded the fix with the attached debdiff.
Martin
diff -Nru sosreport-4.0/debian/changelog sosreport-4.0/debian/changelog
--- sosreport-4.0/debian/changelog 2021-01-27 15:29:24.000000000 +0100
+++ sosreport-4.0/debian/changelog 2024-01-10 08:16:54.000000000 +0100
@@ -1,3 +1,12 @@
+sosreport (4.0-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * d/p/0004-unittest-assertEquals.patch: unittest.TestCase.assertEquals() was + deprecated in Python 3, and finally dropped in Python 3.12. Fixes FTBFS
+ due to unit tests failing. (Closes: #1058214)
+
+ -- Martin Pitt <
mpitt@debian.org> Wed, 10 Jan 2024 08:16:54 +0100
+
sosreport (4.0-2) unstable; urgency=medium
* d/p/0003-systemd-prefer-resolvectl-over-systemd-resolve.patch:
diff -Nru sosreport-4.0/debian/patches/0004-unittest-assertEquals.patch sosreport-4.0/debian/patches/0004-unittest-assertEquals.patch
--- sosreport-4.0/debian/patches/0004-unittest-assertEquals.patch 1970-01-01 01:00:00.000000000 +0100
+++ sosreport-4.0/debian/patches/0004-unittest-assertEquals.patch 2024-01-10 08:16:40.000000000 +0100
@@ -0,0 +1,545 @@
+Description: [tests