File: python3-aiorpcx.patch

package info (click to toggle)
electrum 4.5.8%2Bds-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,424 kB
  • sloc: python: 91,359; sh: 1,150; java: 116; xml: 51; makefile: 24
file content (19 lines) | stat: -rw-r--r-- 927 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Bump the maximum aiorpcx version to 0.26. This can probably be
 removed with the next release.
Author: Soren Stoutner <soren@debian.org>
Forwarded: https://github.com/spesmilo/electrum/issues/9727
Last-Update: 2025-08-21

--- 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, 26)):
+        raise RuntimeError(f'aiorpcX version {aiorpcx._version} does not match required: 0.22.0<=ver<0.26')
     # the following imports are for pyinstaller
     from google.protobuf import descriptor
     from google.protobuf import message