From fd274b90775f777c96e013837117b0fbd448799e Mon Sep 17 00:00:00 2001 From: Matt Bachmann Date: Sun, 8 Jul 2018 09:47:31 -0400 Subject: [PATCH 1/2] Update setup.py Updating cython to attempt to address https://github.com/eleme/thriftpy/issues/333 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a8243b5a..15dd4da6 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ ] dev_requires = [ - "cython>=0.23", + "cython>=0.28.4", "flake8>=2.5", "pytest>=2.8", "sphinx-rtd-theme>=0.1.9", From fc41f83cc5119e9b72c0843742591bf81341ccae Mon Sep 17 00:00:00 2001 From: Tzuhsing Gwo Date: Wed, 26 Sep 2018 19:40:42 +0800 Subject: [PATCH 2/2] Upgrade to 0.3.10 --- .travis.yml | 2 ++ CHANGES.rst | 9 ++++++++- setup.py | 8 +++++--- thriftpy/__init__.py | 2 +- tox.ini | 4 ++-- 5 files changed, 18 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d2878ef..d1e4c59b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ python: - 3.3 - 3.4 - 3.5 + - 3.6 + - 3.7 - pypy matrix: diff --git a/CHANGES.rst b/CHANGES.rst index 9e74664c..e7dfea4d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,13 @@ Changelog 0.3.x ~~~~~ +Version 0.3.10 +------------- + +Released on September 26, 2018. + +- update cython version. + Version 0.3.9 ------------- @@ -11,7 +18,7 @@ Released on August 26, 2016. - add support for timeout and ssl in `make_server` / `make_client` helper funcs, via `#204`_, `#205`_ and `#229`_. -- add support for `thrift_file` path in http protocol, via `#225`_. +- add support for `thrift_file` path in http protocol, via `#225`_. - preserve traceback when re-raise undeclared exception, via `#206`_. - performance improvement by dynamically compile spec'd `__init__` diff --git a/setup.py b/setup.py index 15dd4da6..553ccf4a 100644 --- a/setup.py +++ b/setup.py @@ -64,12 +64,12 @@ ext_modules.append(Extension("thriftpy.protocol.cybin", ["thriftpy/protocol/cybin/cybin.c"])) -setup(name="thriftpy", +setup(name="thriftpy2", version=version, description="Pure python implementation of Apache Thrift.", keywords="thrift python thriftpy", - author="Lx Yu", - author_email="i@lxyu.net", + author="ThriftPy Organization", + author_email="gotzehsing@gmail.com", packages=find_packages(exclude=['benchmark', 'docs', 'tests']), package_data={"thriftpy": ["contrib/tracking/tracking.thrift"]}, entry_points={}, @@ -95,6 +95,8 @@ "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ]) diff --git a/thriftpy/__init__.py b/thriftpy/__init__.py index 8d04fd0c..ce8221d6 100644 --- a/thriftpy/__init__.py +++ b/thriftpy/__init__.py @@ -5,7 +5,7 @@ from .hook import install_import_hook, remove_import_hook from .parser import load, load_module, load_fp -__version__ = '0.3.9' +__version__ = '0.3.10' __python__ = sys.version_info __all__ = ["install_import_hook", "remove_import_hook", "load", "load_module", "load_fp"] diff --git a/tox.ini b/tox.ini index c4882700..c4f62379 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = flake8, py26, py27, py33, py34, py35, pypy +envlist = flake8, py26, py27, py33, py34, py35, py36, py37, pypy [testenv] changedir = @@ -10,7 +10,7 @@ commands = deps = pytest - tornado + tornado==4.0 toro cython py26: ordereddict