-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
If you try to install everything, you will get an issue with the onnxruntime version being incompatible.
To reproduce, try it on python 3.10:
poetry use 3.10
poetry shell
poetry lock --regenerate --no-cache
poetry install --all-extras --with dev --with test
Dependency trace:
aisuitespecifies minimum python version as 3.10- dev dependency
chromadbdepends ononnxruntime chromadbonly specifies the minimum version foronnxruntime.- Lock is resolved to
onnxruntime==1.24.2(latest) - Latest version of
onnxruntimedoesn't install on python 3.10, which violates step 1 above
$ poetry show --tree --why onnxruntime
chromadb 0.5.23 Chroma.
└── onnxruntime >=1.14.1
├── flatbuffers *
├── numpy >=1.21.6
├── packaging *
├── protobuf *
└── sympy *
└── mpmath >=1.1.0,<1.4 Fix options
Option A (Transitional)
Explicitly pin onnxruntime to avoid poetry dependency resolution.
Option B (ideal)
Combine option A with pinning ALL packages to specific versions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels