1
0

requirements: bump pinned (and max) aiorpcx versions to 0.23.1

related https://github.com/spesmilo/electrum/issues/8954
This commit is contained in:
SomberNight
2024-04-08 16:44:59 +00:00
parent 7d707bb5c9
commit 3d588fada6
3 changed files with 5 additions and 5 deletions

View File

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