Require aiorpcX 0.5.9

This commit is contained in:
Neil Booth 2018-07-29 05:58:44 +08:00
parent 0b4f6b3d6d
commit 7b9cd944be
5 changed files with 10 additions and 5 deletions

View File

@ -7,6 +7,11 @@
and memory consumption whilst serving clients. Those problems and memory consumption whilst serving clients. Those problems
should not occur with Python 3.7. should not occur with Python 3.7.
Version 1.7.2 (29 Jul 2018)
============================
* require aiorpcX 0.5.9; 0.5.8 didn't work on Python 3.7
Version 1.7.1 (28 Jul 2018) Version 1.7.1 (28 Jul 2018)
============================ ============================

View File

@ -15,7 +15,7 @@
import os import os
import sys import sys
sys.path.insert(0, os.path.abspath('..')) sys.path.insert(0, os.path.abspath('..'))
VERSION="ElectrumX 1.7.1" VERSION="ElectrumX 1.7.2"
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------

View File

@ -1,4 +1,4 @@
version = 'ElectrumX 1.7.1' version = 'ElectrumX 1.7.2'
version_short = version.split()[-1] version_short = version.split()[-1]
from electrumx.server.controller import Controller from electrumx.server.controller import Controller

View File

@ -81,7 +81,7 @@ class Controller(ServerBase):
'''Start the RPC server and wait for the mempool to synchronize. Then '''Start the RPC server and wait for the mempool to synchronize. Then
start serving external clients. start serving external clients.
''' '''
reqd_version = (0, 5, 8) reqd_version = (0, 5, 9)
if aiorpcx_version != reqd_version: if aiorpcx_version != reqd_version:
raise RuntimeError('ElectrumX requires aiorpcX version ' raise RuntimeError('ElectrumX requires aiorpcX version '
f'{version_string(reqd_version)}') f'{version_string(reqd_version)}')

View File

@ -1,5 +1,5 @@
import setuptools import setuptools
version = '1.7.1' version = '1.7.2'
setuptools.setup( setuptools.setup(
name='electrumX', name='electrumX',
@ -11,7 +11,7 @@ setuptools.setup(
# "tribus_hash" package is required to sync Denarius network. # "tribus_hash" package is required to sync Denarius network.
# "blake256" package is required to sync Decred network. # "blake256" package is required to sync Decred network.
# "xevan_hash" package is required to sync Xuez network. # "xevan_hash" package is required to sync Xuez network.
install_requires=['aiorpcX == 0.5.8', 'attrs>=15', install_requires=['aiorpcX == 0.5.9', 'attrs>=15',
'plyvel', 'pylru', 'aiohttp >= 2'], 'plyvel', 'pylru', 'aiohttp >= 2'],
packages=setuptools.find_packages(include=('electrumx*',)), packages=setuptools.find_packages(include=('electrumx*',)),
description='ElectrumX Server', description='ElectrumX Server',