From e170f3db3ed51dd5a1b610df44156a4c958ad627 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Sat, 5 May 2018 02:20:21 -0300 Subject: [PATCH] remove txrequests dependency --- lbrynet/core/system_info.py | 2 +- requirements.txt | 1 - setup.py | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lbrynet/core/system_info.py b/lbrynet/core/system_info.py index 94a1f15f2..95cd74bc9 100644 --- a/lbrynet/core/system_info.py +++ b/lbrynet/core/system_info.py @@ -37,7 +37,7 @@ def get_platform(get_ip=True): "build": build_type.BUILD, # CI server sets this during build step } - # TODO: remove this from get_platform and add a get_external_ip function using txrequests + # TODO: remove this from get_platform and add a get_external_ip function using treq if get_ip: try: response = json.loads(urlopen("https://api.lbry.io/ip").read()) diff --git a/requirements.txt b/requirements.txt index 96b589b9b..bea7b8a65 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,7 +20,6 @@ pyyaml==3.12 PyGithub==1.34 qrcode==5.2.2 requests==2.9.1 -txrequests==0.9.5 service_identity==16.0.0 six>=1.9.0 slowaes==0.1a1 diff --git a/setup.py b/setup.py index de95e8fde..7cc30c751 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,6 @@ requires = [ 'miniupnpc', 'pyyaml', 'requests', - 'txrequests', 'txJSON-RPC', 'zope.interface', 'docopt'