Skip to content

fix: update docling dependency to use docling_core instead#8714

Merged
ogabrielluiz merged 26 commits into
mainfrom
remove-torch-deps
Jun 26, 2025
Merged

fix: update docling dependency to use docling_core instead#8714
ogabrielluiz merged 26 commits into
mainfrom
remove-torch-deps

Conversation

@ogabrielluiz
Copy link
Copy Markdown
Contributor

@ogabrielluiz ogabrielluiz commented Jun 24, 2025

Update docling to docling_core>=2.36.1 so we don't have to install torch and transformers.

Summary by CodeRabbit

  • Chores
    • Updated dependencies to replace "docling" with "docling_core" for improved package management.

* 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.
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 24, 2025
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 24, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The 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

File Change Summary
pyproject.toml Replaced "docling" v2.36.1 with "docling_core" v2.38.0 in dependencies

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
  • Create PR with Unit Tests
  • Post Copyable Unit Tests in Comment
  • Commit Unit Tests in branch remove-torch-deps

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need 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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@ogabrielluiz ogabrielluiz enabled auto-merge June 24, 2025 19:18
@github-actions github-actions Bot added the bug Something isn't working label Jun 24, 2025
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Jun 24, 2025
* Changed `docling_core` version from `>=2.38.0` to `>=2.36.1` for compatibility.
* Added optional dependency group for `docling` with the updated version.
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Jun 24, 2025
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Jun 25, 2025
@ogabrielluiz ogabrielluiz added fast-track Skip tests and sends PR into the merge queue lgtm This PR has been approved by a maintainer and removed lgtm This PR has been approved by a maintainer labels Jun 25, 2025
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jun 25, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 25, 2025
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jun 25, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 25, 2025
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jun 25, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 25, 2025
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jun 25, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 25, 2025
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Jun 25, 2025
@ogabrielluiz ogabrielluiz enabled auto-merge June 25, 2025 23:54
@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Jun 25, 2025
@ogabrielluiz ogabrielluiz added this pull request to the merge queue Jun 25, 2025
Merged via the queue into main with commit e28104c Jun 26, 2025
23 of 27 checks passed
@ogabrielluiz ogabrielluiz deleted the remove-torch-deps branch June 26, 2025 00:07
2getsandesh added a commit to 2getsandesh/langflow-IBM that referenced this pull request Jun 26, 2025
…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>
2getsandesh added a commit to 2getsandesh/langflow-IBM that referenced this pull request Jun 26, 2025
…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
Khurdhula-Harshavardhan pushed a commit to JigsawStack/langflow that referenced this pull request Jul 1, 2025
…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>
@coderabbitai coderabbitai Bot mentioned this pull request Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fast-track Skip tests and sends PR into the merge queue lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants