1
0

Merge pull request #9458 from f321x/bump_aiorpcx

Bump allowed aiorpcx version to 0.24
This commit is contained in:
ghost43
2025-01-20 12:19:00 +00:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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