Skip to content

Commit 7a5e3f4

Browse files
authored
enhance: Update pyproject toml and readme (#2726)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
1 parent 2d73314 commit 7a5e3f4

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@
77
[![Downloads](https://static.pepy.tech/badge/pymilvus/week)](https://pepy.tech/project/pymilvus)
88

99
[![license](https://img.shields.io/hexpm/l/plug.svg?color=green)](https://github.com/milvus-io/pymilvus/blob/master/LICENSE)
10-
[![Mergify Status][mergify-status]][mergify]
1110
![Static Badge](https://img.shields.io/badge/slack-%23py--milvus-blue?style=social&logo=slack&link=https%3A%2F%2Fmilvusio.slack.com%2Farchives%2FC024XTWMT4L)
1211

13-
[mergify]: https://mergify.com
14-
[mergify-status]: https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/milvus-io/pymilvus&style=flat
15-
1612
Python SDK for [Milvus](https://github.com/milvus-io/milvus). To contribute code to this project, please read our [contribution guidelines](https://github.com/milvus-io/milvus/blob/master/CONTRIBUTING.md) first. If you have some ideas or encounter a problem, you can find us in the Slack channel [#py-milvus](https://milvusio.slack.com/archives/C024XTWMT4L).
1713

1814

@@ -27,8 +23,8 @@ The following collection shows Milvus versions and recommended PyMilvus versions
2723
| 2.1.\* | 2.1.3 |
2824
| 2.2.\* | 2.2.15 |
2925
| 2.3.\* | 2.3.7 |
30-
| 2.4.\* | 2.4.10 |
31-
| 2.5.\* | 2.5.0 |
26+
| 2.4.\* | 2.4.X |
27+
| 2.5.\* | 2.5.X |
3228

3329

3430
## Installation

pyproject.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ requires = [
77
]
88
build-backend = "setuptools.build_meta"
99

10+
[tool.setuptools]
11+
packages = ["pymilvus"]
12+
1013

1114
[project]
1215
name="pymilvus"
@@ -20,7 +23,7 @@ dependencies=[
2023
"setuptools>69",
2124
"setuptools<70.1;python_version<='3.8'",
2225
"grpcio>=1.66.2,<=1.70.0", #issue https://github.com/milvus-io/pymilvus/issues/2358
23-
"protobuf>=3.20.0",
26+
"protobuf>=5.27.2", # aligned with grpcio-tools generated codes
2427
"python-dotenv>=1.0.1, <2.0.0",
2528
"ujson>=2.0.0",
2629
"pandas>=1.2.4",

0 commit comments

Comments
 (0)