Description: Bump the maximum aiorpcx version to 0.25. This can be removed with
 the next release.
Author: Soren Stoutner <soren@debian.org>
Forwarded: https://github.com/spesmilo/electrum/issues/9727
Last-Update: 2025-04-11

--- a/electrum/electrum
+++ b/electrum/electrum
@@ -74,8 +74,8 @@ def check_imports():
         import aiorpcx
     except ImportError as e:
         sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'")
-    if not ((0, 22, 0) <= aiorpcx._version < (0, 24)):
-        raise RuntimeError(f'aiorpcX version {aiorpcx._version} does not match required: 0.22.0<=ver<0.24')
+    if not ((0, 22, 0) <= aiorpcx._version < (0, 25)):
+        raise RuntimeError(f'aiorpcX version {aiorpcx._version} does not match required: 0.22.0<=ver<0.25')
     # the following imports are for pyinstaller
     from google.protobuf import descriptor
     from google.protobuf import message
