fix: update docling dependency to use docling_core instead#8714
Conversation
* Updated `docling` to `docling_core>=2.38.0` in `pyproject.toml`. * Removed outdated `docling` package entries from `uv.lock`. * Adjusted dependency markers for `gassist` and `triton` to improve compatibility across platforms.
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThe dependency "docling" version 2.36.1 was removed and replaced by "docling_core" version 2.38.0 in the main dependencies list of the project's configuration file. No other dependencies or configuration settings were changed. Changes
Sequence Diagram(s)No sequence diagram generated as the change is limited to dependency management and does not alter control flow or feature logic. ✨ Finishing Touches🧪 Generate Unit Tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
* Changed `docling_core` version from `>=2.38.0` to `>=2.36.1` for compatibility. * Added optional dependency group for `docling` with the updated version.
…ai#8714) * chore: update dependencies in pyproject.toml and uv.lock * Updated `docling` to `docling_core>=2.38.0` in `pyproject.toml`. * Removed outdated `docling` package entries from `uv.lock`. * Adjusted dependency markers for `gassist` and `triton` to improve compatibility across platforms. * chore: downgrade docling_core dependency in pyproject.toml * Changed `docling_core` version from `>=2.38.0` to `>=2.36.1` for compatibility. * Added optional dependency group for `docling` with the updated version. * Added traceloop.py and initialized in service.py, also updated pyproject.toml * updated returned callbacks list length from 5 to 6. Formatted service.py * [autofix.ci] apply automated fixes * OpenInference span kind replaced with Opentelemetry Span kind * Added traceloop.py and initialized in service.py, also updated pyproject.toml * updated returned callbacks list length from 5 to 6. Formatted service.py * [autofix.ci] apply automated fixes * OpenInference span kind replaced with Opentelemetry Span kind * Added traceloop.py and initialized in service.py, also updated pyproject.toml * updated returned callbacks list length from 5 to 6. Formatted service.py * [autofix.ci] apply automated fixes * OpenInference span kind replaced with Opentelemetry Span kind * Updated as per coderabbitai suggested and tested * Fixed deprecated NoneType * code formatted * revert uv.lock * add new line to uv.lock * updated service.py * [autofix.ci] apply automated fixes * fix(DoclingInlineComponent): add import error handling for missing Docling module * Revert "Merge branch '2getsandesh/main' into remove-torch-deps" This reverts commit b95891f, reversing changes made to 9e0f1ae. --------- Co-authored-by: Sandesh R <2getsandesh@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Sandesh R <Sandesh.R24@ibm.com> Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
…ai#8714) * chore: update dependencies in pyproject.toml and uv.lock * Updated `docling` to `docling_core>=2.38.0` in `pyproject.toml`. * Removed outdated `docling` package entries from `uv.lock`. * Adjusted dependency markers for `gassist` and `triton` to improve compatibility across platforms. * chore: downgrade docling_core dependency in pyproject.toml * Changed `docling_core` version from `>=2.38.0` to `>=2.36.1` for compatibility. * Added optional dependency group for `docling` with the updated version. * Added traceloop.py and initialized in service.py, also updated pyproject.toml * updated returned callbacks list length from 5 to 6. Formatted service.py * [autofix.ci] apply automated fixes * OpenInference span kind replaced with Opentelemetry Span kind * Added traceloop.py and initialized in service.py, also updated pyproject.toml * updated returned callbacks list length from 5 to 6. Formatted service.py * [autofix.ci] apply automated fixes * OpenInference span kind replaced with Opentelemetry Span kind * Added traceloop.py and initialized in service.py, also updated pyproject.toml * updated returned callbacks list length from 5 to 6. Formatted service.py * [autofix.ci] apply automated fixes * OpenInference span kind replaced with Opentelemetry Span kind * Updated as per coderabbitai suggested and tested * Fixed deprecated NoneType * code formatted * revert uv.lock * add new line to uv.lock * updated service.py * [autofix.ci] apply automated fixes * fix(DoclingInlineComponent): add import error handling for missing Docling module * Revert "Merge branch '2getsandesh/main' into remove-torch-deps" This reverts commit b95891f, reversing changes made to 9e0f1ae. --------- Co-authored-by: Sandesh R <2getsandesh@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Sandesh R <Sandesh.R24@ibm.com> Co-authored-by: Edwin Jose <edwin.jose@datastax.com> Rebasing to merge conflict
…ai#8714) * chore: update dependencies in pyproject.toml and uv.lock * Updated `docling` to `docling_core>=2.38.0` in `pyproject.toml`. * Removed outdated `docling` package entries from `uv.lock`. * Adjusted dependency markers for `gassist` and `triton` to improve compatibility across platforms. * chore: downgrade docling_core dependency in pyproject.toml * Changed `docling_core` version from `>=2.38.0` to `>=2.36.1` for compatibility. * Added optional dependency group for `docling` with the updated version. * Added traceloop.py and initialized in service.py, also updated pyproject.toml * updated returned callbacks list length from 5 to 6. Formatted service.py * [autofix.ci] apply automated fixes * OpenInference span kind replaced with Opentelemetry Span kind * Added traceloop.py and initialized in service.py, also updated pyproject.toml * updated returned callbacks list length from 5 to 6. Formatted service.py * [autofix.ci] apply automated fixes * OpenInference span kind replaced with Opentelemetry Span kind * Added traceloop.py and initialized in service.py, also updated pyproject.toml * updated returned callbacks list length from 5 to 6. Formatted service.py * [autofix.ci] apply automated fixes * OpenInference span kind replaced with Opentelemetry Span kind * Updated as per coderabbitai suggested and tested * Fixed deprecated NoneType * code formatted * revert uv.lock * add new line to uv.lock * updated service.py * [autofix.ci] apply automated fixes * fix(DoclingInlineComponent): add import error handling for missing Docling module * Revert "Merge branch '2getsandesh/main' into remove-torch-deps" This reverts commit b95891f, reversing changes made to 9e0f1ae. --------- Co-authored-by: Sandesh R <2getsandesh@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Sandesh R <Sandesh.R24@ibm.com> Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Update
doclingtodocling_core>=2.36.1so we don't have to install torch and transformers.Summary by CodeRabbit