Browse Source

remove jsonrpclib dependency

dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
ThomasV 5 years ago
parent
commit
2e1829bc24
  1. 1
      contrib/requirements/requirements.txt
  2. 2
      run_electrum

1
contrib/requirements/requirements.txt

@ -3,7 +3,6 @@ ecdsa>=0.13
qrcode
protobuf
dnspython
jsonrpclib-pelix
qdarkstyle<2.7
aiorpcx>=0.18,<0.19
aiohttp>=3.3.0

2
run_electrum

@ -61,7 +61,6 @@ def check_imports():
import certifi
import qrcode
import google.protobuf
import jsonrpclib
import aiorpcx
except ImportError as e:
sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'")
@ -70,7 +69,6 @@ def check_imports():
from google.protobuf import message
from google.protobuf import reflection
from google.protobuf import descriptor_pb2
from jsonrpclib import SimpleJSONRPCServer
# make sure that certificates are here
assert os.path.exists(certifi.where())

Loading…
Cancel
Save