fix: Backport macOS specific ver reqs#10099
Conversation
WalkthroughUpdates dependency declarations in pyproject.toml: replaces docling with docling-core and restores platform-conditional markers for docling, easyocr, and opencv-python. Keeps other dependencies unchanged. Adds a trailing comma in the python-pptx override section. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 error, 3 inconclusive)
✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (47.17%) is below the target coverage (55.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #10099 +/- ##
==========================================
+ Coverage 24.19% 24.21% +0.01%
==========================================
Files 1091 1091
Lines 40042 40059 +17
Branches 5544 5541 -3
==========================================
+ Hits 9688 9700 +12
- Misses 30183 30188 +5
Partials 171 171
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|



This pull request updates the dependency configuration in
pyproject.tomlto improve compatibility with different platforms, especially addressing issues for macOS on x86_64 architecture. The main changes involve conditional dependencies for certain packages and the introduction of a new core package.Dependency updates and platform-specific adjustments:
doclingdependency withdocling-corefor all platforms, and madedoclingconditional so it is only installed on platforms other than macOS x86_64.easyocrandopencv-pythondependencies conditional so they are not installed on macOS x86_64, improving compatibility for that platform.Minor changes:
python-pptxoverride dependency for consistency.Summary by CodeRabbit
Bug Fixes
Chores