Skip to content

Commit

Permalink
Change version to 0.2.0 (#1389)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

### Type of change

- [x] Python SDK impacted, Need to update PyPI

Signed-off-by: Jin Hai <[email protected]>
  • Loading branch information
JinHai-CN authored Jun 25, 2024
1 parent 944d5d1 commit 58be179
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion python/infinity/remote_thrift/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/network/infinity_thrift_service.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -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<u64, SharedPtr<Infinity>> infinity_session_map_;
Expand Down

0 comments on commit 58be179

Please sign in to comment.