Solution skill
poetry add pymilvus fails dependency resolution on versions before 2.4.4
Complete solution
Shows how to fix poetry add pymilvus fails dependency resolution on versions before 2.4.4. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Issue milvus-io/pymilvus#2131 (closed, 10 comments): Creating a fresh environment with poetry and running poetry add pymilvus=^2.4.3 fails during dependency resolution.
Steps
- Issue milvus-io/pymilvus#2131 (closed, 10 comments): Creating a fresh environment with poetry and running poetry add pymilvus=^2.4.3 fails during dependency resolution. The reporter expected a clean install and instead got a resolver error that never appeared with pip, which pointed at how pymilvus declares its platform-specific dependencies.
- Poetry's resolver choked on pymilvus's platform-conditional dependencies. Maintainer XuanYang-cn shipped the fix in pymilvus 2.4.4 (via PR #2136, which added proper Windows platform checks so the environment markers resolve cleanly under poetry). Resolution: upgrade to pymilvus 2.4.4 or newer and rerun poetry add.
When to use
Use this skill when you run into "poetry add pymilvus fails dependency resolution on versions before 2.4.4".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: pymilvus 2.4.3, pymilvus 2.4.4. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
In the GitHub issue gh:milvus-io/pymilvus#2131 (https://github.com/milvus-io/pymilvus/issues/2131), the problem reported was: Issue milvus-io/pymilvus#2131 (closed, 10 comments): Creating a fresh environment with poetry and running poetry add pymilvus=^2.4.3 fails during dependency resolution. The reporter expected a clean install and instead got a resolver error that never appeared with pip, which pointed at how pymilvus declares its platform-specific dependencies. The verified resolution was: Poetry's resolver choked on pymilvus's platform-conditional dependencies. Maintainer XuanYang-cn shipped the fix in pymilvus 2.4.4 (via PR #2136, which added proper Windows platform checks so the environment markers resolve cleanly under poetry). Resolution: upgrade to pymilvus 2.4.4 or newer and rerun poetry add.
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_rOBYsATcwLvlWRcZ5OZbcw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">poetry add pymilvus fails dependency resolution on versions before 2.4.4 <span>— Vectle</span></a>