Skip to content

Commit

Permalink
Merge pull request #9458 from f321x/bump_aiorpcx
Browse files Browse the repository at this point in the history
Bump allowed aiorpcx version to 0.24
  • Loading branch information
SomberNight authored Jan 20, 2025
2 parents f949c04 + 171aa5e commit 142f1d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
qrcode
protobuf>=3.20,<4
qdarkstyle>=3.2
aiorpcx>=0.22.0,<0.24
aiorpcx>=0.22.0,<0.25
aiohttp>=3.3.0,<4.0.0
aiohttp_socks>=0.8.4
certifi
Expand Down
4 changes: 2 additions & 2 deletions run_electrum
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,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
Expand Down

0 comments on commit 142f1d5

Please sign in to comment.