Skip to content

Commit ad0a4d4

Browse files
sdks/python: make milvus as extra dependency
1 parent 2784cde commit ad0a4d4

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

sdks/python/setup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ def get_portability_package_data():
401401
'typing-extensions>=3.7.0',
402402
'zstandard>=0.18.0,<1',
403403
'pyyaml>=3.12,<7.0.0',
404-
'pymilvus>=2.5.10,<3.0.0',
405404
# Dynamic dependencies must be specified in a separate list, otherwise
406405
# Dependabot won't be able to parse the main list. Any dynamic
407406
# dependencies will not receive updates from Dependabot.
@@ -438,7 +437,7 @@ def get_portability_package_data():
438437
'sqlalchemy>=1.3,<3.0',
439438
'psycopg2-binary>=2.8.5,<2.9.10; python_version <= "3.9"',
440439
'psycopg2-binary>=2.8.5,<3.0; python_version >= "3.10"',
441-
'testcontainers[mysql,kafka,milvus]>=4.0.0,<5.0.0',
440+
'testcontainers[mysql,kafka]>=4.0.0,<5.0.0',
442441
'cryptography>=41.0.2',
443442
'hypothesis>5.0.0,<7.0.0',
444443
'virtualenv-clone>=0.5,<1.0',
@@ -588,7 +587,11 @@ def get_portability_package_data():
588587
'transformers==4.25.1'
589588
],
590589
'xgboost': ['xgboost>=1.6.0,<2.1.3', 'datatable==1.0.0'],
591-
'tensorflow-hub': ['tensorflow-hub>=0.14.0,<0.16.0']
590+
'tensorflow-hub': ['tensorflow-hub>=0.14.0,<0.16.0'],
591+
'milvus': [
592+
'pymilvus>=2.5.10,<3.0.0',
593+
'testcontainers[milvus]>=4.0.0,<5.0.0'
594+
]
592595
},
593596
zip_safe=False,
594597
# PyPI package information.

0 commit comments

Comments
 (0)