diff --git a/pyproject.toml b/pyproject.toml index 7e195a9637..1ebd2ec4ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build" [project] name = "infinity_sdk" -version = "0.2.0.dev8" +version = "0.2.0" requires-python = ">=3.10" dependencies = [ "sqlglot~=11.7.1", diff --git a/python/infinity/remote_thrift/client.py b/python/infinity/remote_thrift/client.py index cfecdc6863..a8043d4636 100644 --- a/python/infinity/remote_thrift/client.py +++ b/python/infinity/remote_thrift/client.py @@ -50,7 +50,7 @@ def reconnect(self): # version: 0.2.0.dev7, client_version: 6 # version: 0.2.0.dev8, client_version: 7 # version: 0.2.0, client_version: 8 - res = self.client.Connect(ConnectRequest(client_version=7)) + res = self.client.Connect(ConnectRequest(client_version=8)) if res.error_code != 0: raise InfinityException(res.error_code, res.error_msg) self.session_id = res.session_id diff --git a/src/network/infinity_thrift_service.cppm b/src/network/infinity_thrift_service.cppm index ca71512446..352da6216f 100644 --- a/src/network/infinity_thrift_service.cppm +++ b/src/network/infinity_thrift_service.cppm @@ -57,7 +57,7 @@ struct ClientVersions { export class InfinityThriftService final : public infinity_thrift_rpc::InfinityServiceIf { private: static constexpr std::string_view ErrorMsgHeader = "[THRIFT ERROR]"; - static constexpr i64 current_version_index_{7}; // 0.2.0.dev8 + static constexpr i64 current_version_index_{8}; // 0.2.0 static std::mutex infinity_session_map_mutex_; static HashMap> infinity_session_map_;