Skip to content

Fix onnxruntime version#274

Open
z-a-f wants to merge 1 commit intoandrewyng:mainfrom
z-a-f:onnx-version
Open

Fix onnxruntime version#274
z-a-f wants to merge 1 commit intoandrewyng:mainfrom
z-a-f:onnx-version

Conversation

@z-a-f
Copy link

@z-a-f z-a-f commented Feb 26, 2026

Fixes #273

chromadb only specifies minimum version for onnxruntime. This causes conflicts with Python 3.10.

This conditionally pins onnxruntime to 1.23.0 for Python 3.10 and 1.24.0 for Python 3.11+.

$ poetry show --tree --why onnxruntime
chromadb 0.5.23 Chroma.
└── onnxruntime >=1.14.1
    ├── coloredlogs * 
    │   └── humanfriendly >=9.1 
    │       └── pyreadline3 * 
    ├── flatbuffers * 
    ├── numpy >=1.21.6 
    ├── packaging * 
    ├── protobuf * 
    └── sympy * 
        └── mpmath >=1.1.0,<1.4 

Fixes andrewyng#273

`chromadb` only specifies minimum version for `onnxruntime`.
This causes conflicts with Python 3.10.

This conditionally pins `onnxruntime` to 1.23.0 for Python 3.10 and 1.24.0 for Python 3.11+.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dependency conflicts for onnxruntime

1 participant