Compare commits

...
Author SHA1 Message Date
Jack Robison c3d5014a08 Bump version 0.18.0 --> 0.18.1
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2018-01-22 15:57:48 -05:00
Jack Robison c067959061 patch 2018-01-22 15:57:31 -05:00
5 changed files with 17 additions and 8 deletions

No files matched your search

+5
View File
@@ -33,6 +33,11 @@ at anytime.
*
## [0.18.1] - 2018-01-22
### Fixed
* Fixed fetching the external ip
## [0.18.0] - 2017-11-08
### Fixed
* Fixed amount of close nodes to add to list in case of extension to neighbouring k-buckets
+1 -1
View File
@@ -1,6 +1,6 @@
import logging
__version__ = "0.18.0"
__version__ = "0.18.1"
version = tuple(__version__.split('.'))
logging.getLogger(__name__).addHandler(logging.NullHandler())
+7 -3
View File
@@ -3,7 +3,7 @@ import json
import subprocess
import os
from urllib2 import urlopen
from urllib2 import urlopen, URLError
from lbryschema import __version__ as lbryschema_version
from lbryum import __version__ as LBRYUM_VERSION
from lbrynet import build_type, __version__ as lbrynet_version
@@ -37,10 +37,14 @@ 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
if get_ip:
try:
p['ip'] = json.load(urlopen('http://ipv4.jsonip.com'))['ip']
except:
response = json.loads(urlopen("https://api.lbry.io/ip").read())
if not response['success']:
raise URLError("failed to get external ip")
p['ip'] = response['data']['ip']
except (URLError, AssertionError):
p['ip'] = "Could not determine IP"
return p
+2 -2
View File
@@ -14,8 +14,8 @@ gmpy==1.17
jsonrpc==1.2
jsonrpclib==0.1.7
jsonschema==2.6.0
git+https://github.com/lbryio/lbryum.git@v3.1.11#egg=lbryum
git+https://github.com/lbryio/lbryschema.git@v0.0.14#egg=lbryschema
git+https://github.com/lbryio/lbryum.git@v3.2.0rc10#egg=lbryum
git+https://github.com/lbryio/lbryschema.git@v0.0.15rc2#egg=lbryschema
miniupnpc==1.9
pbkdf2==1.3
pycrypto==2.6.1
+2 -2
View File
@@ -21,8 +21,8 @@ requires = [
'envparse',
'jsonrpc',
'jsonschema',
'lbryum==3.1.11',
'lbryschema==0.0.14',
'lbryum==3.2.0rc10',
'lbryschema==0.0.15rc2',
'miniupnpc',
'pycrypto',
'pyyaml',