Hi,

this seems to be caused by newer Autobahn versions no longer having the `nameResolver` property to set (see [1] where it is removed).

Removing the line where the MemoryReactorClockResolver is instantiated seems to be sufficient here, since I do not see the _reactor property being used anywhere in the rest of the test code.

Hence I am adding a patch to comment out that line as a fix for the build with newer Autobahn versions. Debdiff included.

In line with the maintainer's LowNMU policy, I would be doing an NMU in a few days if there are no objections.

Best regards
Sascha

[1] https://github.com/crossbario/autobahn-python/commit/5fa3ba25ac782576504c99026fb3ad137edda842


diff -Nru magic-wormhole-transit-relay-0.3.1/debian/changelog magic-wormhole-transit-relay-0.3.1/debian/changelog
--- magic-wormhole-transit-relay-0.3.1/debian/changelog	2024-08-20 02:06:02.000000000 +0200
+++ magic-wormhole-transit-relay-0.3.1/debian/changelog	2025-10-22 01:08:25.000000000 +0200
@@ -1,3 +1,11 @@
+magic-wormhole-transit-relay (0.3.1-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS by adapting code to work with newer Autobahn versions.
+    Closes: #1115764
+
+ -- Sascha Steinbiss <[email protected]>  Wed, 22 Oct 2025 01:08:25 +0200
+
 magic-wormhole-transit-relay (0.3.1-0.1) unstable; urgency=medium
 
   * Non-Maintainer Upload.
diff -Nru magic-wormhole-transit-relay-0.3.1/debian/patches/series magic-wormhole-transit-relay-0.3.1/debian/patches/series
--- magic-wormhole-transit-relay-0.3.1/debian/patches/series	2024-08-20 02:06:02.000000000 +0200
+++ magic-wormhole-transit-relay-0.3.1/debian/patches/series	2025-10-22 00:49:28.000000000 +0200
@@ -1 +1,2 @@
+twisted-test.patch
 skip-test.patch
diff -Nru magic-wormhole-transit-relay-0.3.1/debian/patches/twisted-test.patch magic-wormhole-transit-relay-0.3.1/debian/patches/twisted-test.patch
--- magic-wormhole-transit-relay-0.3.1/debian/patches/twisted-test.patch	1970-01-01 01:00:00.000000000 +0100
+++ magic-wormhole-transit-relay-0.3.1/debian/patches/twisted-test.patch	2025-10-22 00:49:58.000000000 +0200
@@ -0,0 +1,11 @@
+--- a/src/wormhole_transit_relay/test/test_transit_server.py
++++ b/src/wormhole_transit_relay/test/test_transit_server.py
+@@ -639,7 +639,7 @@
+     def setUp(self):
+         super(UsageWebSockets, self).setUp()
+         self._pump = create_pumper()
+-        self._reactor = MemoryReactorClockResolver()
++        #self._reactor = MemoryReactorClockResolver()
+         return self._pump.start()
+ 
+     def tearDown(self):

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to