Skip to content

Commit 3f07ecf

Browse files
authored
Update version info to v0.5.0-dev6 (#2358)
### What problem does this PR solve? Update version info of v0.5.0-dev6 ### Type of change - [x] Documentation Update - [x] Python SDK impacted, Need to update PyPI Signed-off-by: Jin Hai <[email protected]>
1 parent 7418b98 commit 3f07ecf

File tree

11 files changed

+18
-16
lines changed

11 files changed

+18
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Supports a wide range of data types including strings, numerics, vectors, and mo
6060
Infinity supports two working modes, embedded mode and client-server mode. Infinity's embedded mode enables you to quickly embed Infinity into your Python applications, without the need to connect to a separate backend server. The following shows how to operate in embedded mode:
6161

6262
```bash
63-
pip install infinity-embedded-sdk==0.5.0.dev5
63+
pip install infinity-embedded-sdk==0.5.0.dev6
6464
```
6565
Use Infinity to conduct a dense vector search:
6666
```python

benchmark/remote_infinity/remote_query_benchmark.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct InfinityClient {
5151
transport->open();
5252
CommonResponse response;
5353
ConnectRequest request;
54-
request.__set_client_version(26); // 0.5.0.dev5
54+
request.__set_client_version(27); // 0.5.0.dev6
5555
client->Connect(response, request);
5656
session_id = response.session_id;
5757
}

client/cpp/infinity_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Client Client::Connect(const std::string &ip_address, uint16_t port) {
2525
transport->open();
2626
CommonResponse response;
2727
ConnectRequest request;
28-
request.__set_client_version(26); // 0.5.0.dev5
28+
request.__set_client_version(27); // 0.5.0.dev6
2929
client->Connect(response, request);
3030
return {socket, transport, protocol, std::move(client), response.session_id};
3131
}

docs/getstarted/build_from_source.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ cmake --build . -t test_main
264264

265265
2. Install Python sdk of infinity:
266266
```bash
267-
pip install infinity-sdk==0.5.0.dev5
267+
pip install infinity-sdk==0.5.0.dev6
268268
```
269269

270270
3. Run the functional tests:
@@ -286,7 +286,7 @@ cmake --build . -t test_main
286286

287287
2. Install Python sdk of infinity:
288288
```bash
289-
pip install infinity-sdk==0.5.0.dev5
289+
pip install infinity-sdk==0.5.0.dev6
290290
```
291291

292292
3. Run the functional tests:
@@ -309,7 +309,7 @@ cmake --build . -t test_main
309309

310310
2. Install Python sdk of infinity:
311311
```bash
312-
pip install infinity-sdk==0.5.0.dev5
312+
pip install infinity-sdk==0.5.0.dev6
313313
```
314314

315315
3. Run the functional tests:

docs/getstarted/deploy_infinity_server.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This approach allows you to call Infinity as a Python module. To deploy Infinity
3434
### Install Infinity as a module
3535

3636
```
37-
pip install infinity-embedded-sdk==0.5.0.dev5
37+
pip install infinity-embedded-sdk==0.5.0.dev6
3838
```
3939

4040
### Create an Infinity object
@@ -101,7 +101,7 @@ If you are on Windows 10+, you must enable WSL or WSL2 to deploy Infinity using
101101
### Install Infinity client
102102

103103
```
104-
pip install infinity-sdk==0.5.0.dev5
104+
pip install infinity-sdk==0.5.0.dev6
105105
```
106106

107107
### Run a vector search
@@ -151,7 +151,7 @@ This section provides instructions on deploying Infinity using binary package on
151151

152152
Fedora/RHEL/CentOS/OpenSUSE
153153
```bash
154-
sudo rpm -i infinity-0.5.0.dev5-x86_64.rpm
154+
sudo rpm -i infinity-0.5.0.dev6-x86_64.rpm
155155
```
156156

157157
```bash
@@ -162,7 +162,7 @@ sudo systemctl start infinity
162162
<TabItem value="ubuntu">
163163

164164
```bash
165-
sudo dpkg -i infinity-0.5.0.dev5-x86_64.deb
165+
sudo dpkg -i infinity-0.5.0.dev6-x86_64.deb
166166
```
167167

168168
```bash
@@ -175,7 +175,7 @@ sudo systemctl start infinity
175175
### Install Infinity client
176176

177177
```
178-
pip install infinity-sdk==0.5.0.dev5
178+
pip install infinity-sdk==0.5.0.dev6
179179
```
180180

181181
### Run a vector search

docs/getstarted/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If you wish to embed Infinity into your Python application without the need for
2121

2222
1. Install the Infinity-embedded SDK:
2323
```bash
24-
pip install infinity-embedded-sdk==0.5.0.dev5
24+
pip install infinity-embedded-sdk==0.5.0.dev6
2525
```
2626
2. Use Infinity to conduct a dense vector search:
2727
```python

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build-backend = "scikit_build_core.build"
1111

1212
[project]
1313
name = "infinity_embedded_sdk"
14-
version = "0.5.0.dev5"
14+
version = "0.5.0.dev6"
1515
requires-python = ">=3.10"
1616
dependencies = [
1717
"sqlglot~=11.7.0",

python/infinity_sdk/infinity/remote_thrift/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ def _reconnect(self):
9797
# version: 0.5.0.dev2, client_version: 24
9898
# version: 0.5.0.dev3, client_version: 25
9999
# version: 0.5.0.dev4 and 0.5.0.dev5, client_version: 26
100-
res = self.client.Connect(ConnectRequest(client_version=26)) # 0.5.0.dev5
100+
# version: 0.5.0.dev6, client_version: 27
101+
res = self.client.Connect(ConnectRequest(client_version=27)) # 0.5.0.dev6
101102
if res.error_code != 0:
102103
raise InfinityException(res.error_code, res.error_msg)
103104
self.session_id = res.session_id

python/infinity_sdk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "infinity-sdk"
3-
version = "0.5.0.dev5"
3+
version = "0.5.0.dev6"
44
requires-python = ">=3.10"
55
dependencies = [
66
"sqlglot~=11.7.0",

src/network/infinity_thrift_service.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ ClientVersions::ClientVersions() {
9393
client_version_map_[24] = String("0.5.0.dev2");
9494
client_version_map_[25] = String("0.5.0.dev3");
9595
client_version_map_[26] = String("0.5.0.dev5");
96+
client_version_map_[27] = String("0.5.0.dev6");
9697
}
9798

9899
Pair<const char *, Status> ClientVersions::GetVersionByIndex(i64 version_index) {

src/network/infinity_thrift_service.cppm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct ClientVersions {
6060
export class InfinityThriftService final : public infinity_thrift_rpc::InfinityServiceIf {
6161
private:
6262
static constexpr std::string_view ErrorMsgHeader = "[THRIFT ERROR]";
63-
static constexpr i64 current_version_index_{26}; // 0.5.0.dev5
63+
static constexpr i64 current_version_index_{27}; // 0.5.0.dev6
6464

6565
static std::mutex infinity_session_map_mutex_;
6666
static HashMap<u64, SharedPtr<Infinity>> infinity_session_map_;

0 commit comments

Comments
 (0)