From 9158d0abbb0ab132645def6f2998c5cbb46db065 Mon Sep 17 00:00:00 2001 From: AN Long Date: Thu, 4 Jul 2024 23:42:33 +0800 Subject: [PATCH] Bump version 0.5.2b2 (#288) * Bump version 0.5.2b2 * update changelog --- CHANGES.rst | 2 ++ pyproject.toml | 2 +- thriftpy2/__init__.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index c036b43..d668537 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,6 +8,8 @@ UNRELEASED ---------- - Fix an issue where loading a thrift file in a sub-thread will cause an error with ``load_fp``. +- Move static metadata from ``setup.py`` to ``pyproject.toml``. +- Using a thread pool to avoid ``TAsyncSocket.open`` block the event loop. Version 0.5.1 diff --git a/pyproject.toml b/pyproject.toml index af83bb1..842c259 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools", "cython>=0.28.4,<4"] [project] name = "thriftpy2" -version = "0.5.1" +version = "0.5.2b2" description = "Pure python implementation of Apache Thrift." authors = [ {name = "ThriftPy Organization", email = "gotzehsing@gmail.com"}, diff --git a/thriftpy2/__init__.py b/thriftpy2/__init__.py index 0064e91..be8fb3c 100644 --- a/thriftpy2/__init__.py +++ b/thriftpy2/__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.5.2b1' +__version__ = '0.5.2b2' __python__ = sys.version_info __all__ = ["install_import_hook", "remove_import_hook", "load", "load_module", "load_fp"]