fix: update onnxruntime dependency to >=1.22.1 for Windows Server 2019 compatibility

- Update onnxruntime constraint from ==1.22.0 to >=1.22.1 in pyproject.toml
- Add test to verify onnxruntime version constraint in test_imports.py
- Add comprehensive tests for ONNX embedding functionality
- Fixes issue #3398 where onnxruntime 1.22.0 causes DLL load failures on Windows Server 2019

Resolves: #3398
Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2025-08-25 21:48:19 +00:00
parent 2e4bd3f49d
commit 6508d6db92
4 changed files with 3329 additions and 3613 deletions

View File

@@ -23,7 +23,7 @@ dependencies = [
# Data Handling
"chromadb>=0.5.23",
"tokenizers>=0.20.3",
"onnxruntime==1.22.0",
"onnxruntime>=1.22.1",
"openpyxl>=3.1.5",
"pyvis>=0.3.2",
# Authentication and Security