enhance: Make milvus-lite an optional dependency#2976
enhance: Make milvus-lite an optional dependency#2976sre-ci-robot merged 2 commits intomilvus-io:masterfrom
Conversation
|
Welcome @jjaikumar-xyla! It looks like this is your first PR to milvus-io/pymilvus 🎉 |
|
@jjaikumar-xyla This PR's great, it'll reduce a lot of package size for pymilvus. However the DCO robot is complaining. To be able to merge the pull requests, please follow the instruction to pass the DCO check: https://github.com/milvus-io/pymilvus/pull/2976/checks?check_run_id=49853038942 |
Signed-off-by: Jagath Jai Kumar <[email protected]>
c241abd to
8e413d5
Compare
|
hi @XuanYang-cn thanks for the callout, I believe it should be fixed now! |
|
@jjaikumar-xyla The ut failed because we test milvus-lite in ut. Please mark it skip for now, I'll fix it properly later. |
Signed-off-by: Jagath Jai Kumar <[email protected]>
|
/assign @czs007 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2976 +/- ##
=========================================
Coverage ? 46.46%
=========================================
Files ? 63
Lines ? 12724
Branches ? 0
=========================================
Hits ? 5912
Misses ? 6812
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jjaikumar-xyla, XuanYang-cn The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
- enhance: Make milvus-lite an optional dependency (milvus-io#2976) this PR is a possible implementation addressing this milvus-io#2975 Co-authored-by: Jagath Jai Kumar <[email protected]> Signed-off-by: yangxuan <[email protected]>
- enhance: Make milvus-lite an optional dependency (#2976) this PR is a possible implementation addressing this #2975 Signed-off-by: yangxuan <[email protected]> Co-authored-by: Jagath Jai Kumar <[email protected]> Co-authored-by: Jagath Jai Kumar <[email protected]>
milvus no longer includes milvus-lite by default see: milvus-io/pymilvus#2976 this commit modifies our build script to include it otherwise the inline::milvus provider fails on boot Signed-off-by: Nathan Weinberg <[email protected]>
milvus no longer includes milvus-lite by default see: milvus-io/pymilvus#2976 this commit modifies our build script to include it otherwise the inline::milvus provider fails on boot Signed-off-by: Nathan Weinberg <[email protected]>
# What does this PR do? milvus no longer includes milvus-lite by default see: milvus-io/pymilvus#2976 this commit modifies our build script to include it otherwise the inline::milvus provider fails on boot ## Test Plan CI should pass <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - Enabled default support for Milvus Lite via pymilvus[milvus-lite], simplifying local/vector DB usage. - Chores - Updated container configuration to install pymilvus with the milvus-lite extra. - Adjusted build process to automatically rewrite pymilvus dependencies to include milvus-lite. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
pymilvus recently made `milvus-lite` an optional dependency to their package. If someone wants to use the inline provider we must include the extra dependency. For more details see: milvus-io/pymilvus#2976 Signed-off-by: Sébastien Han <[email protected]>
# What does this PR do? pymilvus recently made `milvus-lite` an optional dependency to their package. If someone wants to use the inline provider we must include the extra dependency. For more details see: milvus-io/pymilvus#2976 Signed-off-by: Sébastien Han <[email protected]>
https: //github.com/milvus-io/pymilvus/pull/2976 Signed-off-by: BJ Hargrave <[email protected]>
https: //github.com/milvus-io/pymilvus/pull/2976 Signed-off-by: BJ Hargrave <[email protected]>
https: //github.com/milvus-io/pymilvus/pull/2976 Signed-off-by: BJ Hargrave <[email protected]>
https: //github.com/milvus-io/pymilvus/pull/2976 Signed-off-by: BJ Hargrave <[email protected]>
https: //github.com/milvus-io/pymilvus/pull/2976 Signed-off-by: BJ Hargrave <[email protected]>
https: //github.com/milvus-io/pymilvus/pull/2976 Signed-off-by: BJ Hargrave <[email protected]>
# What does this PR do? pymilvus recently made `milvus-lite` an optional dependency to their package. If someone wants to use the inline provider we must include the extra dependency. For more details see: milvus-io/pymilvus#2976 Signed-off-by: Sébastien Han <[email protected]>
milvus no longer includes milvus-lite by default see: milvus-io/pymilvus#2976 this commit modifies our build script to include it otherwise the inline::milvus provider fails on boot Signed-off-by: Nathan Weinberg <[email protected]>
### **User description** As of milvus-io/pymilvus#2976 `milvus-lite` is no longer included as part of the default `pymilvus` installation and must be explicitly specified ___ ### **PR Type** Documentation ___ ### **Description** - Update installation docs to reflect milvus-lite as optional dependency - Clarify explicit installation requirement for Milvus Lite functionality ___ ### Diagram Walkthrough ```mermaid flowchart LR A["pymilvus default install"] -- "does not include" --> B["Milvus Lite"] C["pymilvus[milvus-lite]"] -- "includes" --> B B -- "enables" --> D["Local vector database"] ``` <details><summary><h3>File Walkthrough</h3></summary> <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td><table> <tr> <td> <details> <summary><strong>README.md</strong><dd><code>Clarify Milvus Lite as optional dependency</code> </dd></summary> <hr> README.md <ul><li>Updated installation documentation to clarify that <code>milvus-lite</code> is no <br>longer included by default<br> <li> Changed wording from "includes Milvus Lite" to "can try Milvus Lite by <br>installing <code>pymilvus[milvus-lite]</code>"<br> <li> Reflects the breaking change from pymilvus PR #2976 where milvus-lite <br>became an optional dependency</ul> </details> </td> <td><a href="https://github.com/milvus-io/milvus/pull/46474/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5">+1/-1</a> </td> </tr> </table></td></tr></tbody></table> </details> ___ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated Milvus Lite installation guidance to specify the proper installation method using the optional feature specification. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Nathan Weinberg <[email protected]>
this PR is a possible implementation addressing this #2975