Hi Laszlo,

Please see attached diff to fix the issue. It's kind of trivial to fix, as you may see... Could you please upload it to unstable ASAP, or allow me to NMU this fix?

Cheers,

Thomas Goirand (zigo)
diff -Nru pyro4-4.82/debian/changelog pyro4-4.82/debian/changelog
--- pyro4-4.82/debian/changelog 2023-11-06 17:31:51.000000000 +0100
+++ pyro4-4.82/debian/changelog 2024-01-11 16:43:48.000000000 +0100
@@ -1,3 +1,11 @@
+pyro4 (4.82-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS by adding a patch:
+    - use-self.assertEqual-not-self.assertEquals.patch (Closes: #1058099).
+
+ -- Thomas Goirand <z...@debian.org>  Thu, 11 Jan 2024 16:43:48 +0100
+
 pyro4 (4.82-3) unstable; urgency=medium
 
   * Fix FTBFS with Sphinx 7.1 (closes: #1042648).
diff -Nru pyro4-4.82/debian/patches/series pyro4-4.82/debian/patches/series
--- pyro4-4.82/debian/patches/series    2023-01-02 21:48:48.000000000 +0100
+++ pyro4-4.82/debian/patches/series    2024-01-11 16:36:09.000000000 +0100
@@ -1,2 +1,3 @@
 skip_networked_tests.patch
 fix-ftbfs-python3.11.patch
+use-self.assertEqual-not-self.assertEquals.patch
diff -Nru 
pyro4-4.82/debian/patches/use-self.assertEqual-not-self.assertEquals.patch 
pyro4-4.82/debian/patches/use-self.assertEqual-not-self.assertEquals.patch
--- pyro4-4.82/debian/patches/use-self.assertEqual-not-self.assertEquals.patch  
1970-01-01 01:00:00.000000000 +0100
+++ pyro4-4.82/debian/patches/use-self.assertEqual-not-self.assertEquals.patch  
2024-01-11 16:39:05.000000000 +0100
@@ -0,0 +1,17 @@
+Description: Use self.assertEqual not self.assertEquals
+Author: Thomas Goirand <z...@debian.org>
+Bug-Debian: https://bugs.debian.org/1058099
+Forwarded: no
+Last-Update: 2024-01-11
+
+--- pyro4-4.82.orig/tests/PyroTests/test_core.py
++++ pyro4-4.82/tests/PyroTests/test_core.py
+@@ -359,7 +359,7 @@ class CoreTests(unittest.TestCase):
+             with self.assertRaises(Pyro4.errors.PyroError):
+                 Pyro4.Proxy("test")
+             with Pyro4.Proxy("test", connected_socket=s1) as p:
+-                self.assertEquals("<<connected-socket>>:0", 
p._pyroUri.location)
++                self.assertEqual("<<connected-socket>>:0", 
p._pyroUri.location)
+                 self.assertIsNotNone(p._pyroConnection)
+                 p._pyroRelease()
+                 self.assertIsNotNone(p._pyroConnection)

Reply via email to