Skip to content

Commit b2d8391

Browse files
committed
Update test code
1 parent f11ebca commit b2d8391

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

sdks/python/setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ def cythonize(*args, **kwargs):
160160
'pandas>=1.4.3,!=1.5.0,!=1.5.1,<2.3',
161161
]
162162

163+
milvus_dependency = ['pymilvus>=2.5.10,<3.0.0']
164+
163165

164166
def find_by_ext(root_dir, ext):
165167
for root, _, files in os.walk(root_dir):
@@ -444,9 +446,8 @@ def get_portability_package_data():
444446
'mysql-connector-python>=9.3.0',
445447
'python-tds>=1.16.1',
446448
'sqlalchemy-pytds>=1.0.2',
447-
'oracledb>=3.1.1',
448-
'milvus'
449-
],
449+
'oracledb>=3.1.1'
450+
] + milvus_dependency,
450451
'gcp': [
451452
'cachetools>=3.1.0,<7',
452453
'google-api-core>=2.0.0,<3',
@@ -589,7 +590,7 @@ def get_portability_package_data():
589590
],
590591
'xgboost': ['xgboost>=1.6.0,<2.1.3', 'datatable==1.0.0'],
591592
'tensorflow-hub': ['tensorflow-hub>=0.14.0,<0.16.0'],
592-
'milvus': ['pymilvus>=2.5.10,<3.0.0']
593+
'milvus': milvus_dependency
593594
},
594595
zip_safe=False,
595596
# PyPI package information.
@@ -612,4 +613,4 @@ def get_portability_package_data():
612613
cmdclass={
613614
'mypy': mypy,
614615
},
615-
)
616+
)

0 commit comments

Comments
 (0)