Skip to content

chore(deps): update lightrag-hku requirement from <1.5 to <1.6#296

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/lightrag-hku-lt-1.6
Closed

chore(deps): update lightrag-hku requirement from <1.5 to <1.6#296
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/lightrag-hku-lt-1.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown

Updates the requirements on lightrag-hku to permit the latest version.

Release notes

Sourced from lightrag-hku's releases.

v1.5.0

Major Improvements

  • 🎉✨Feacture: LightRAG now supports multimodal document processing and can fully leverage images, tables, and formulas within documents to answer queries. All RagAnything’s multimodal processing capabilities are merged into LightRAG; ( RagAnything will no longer receive core feature updates or maintenance going forward)
  • ✨🎉Feacture: Fully upgraded the document processing pipeline, with support for using MinerU and Docling to parse and extract file content, seamlessly integrating with multimodal content analysis and entity-relationship extraction.
  • 💡✨Feacture: LightRAG now introduces Native Parsing, enabling high-quality content extraction from DOCX documents. It supports accurate reconstruction of Word auto-numbering, as well as extraction of images, tables, and formulas, providing seamless integration with multimodal content analysis and entity-relationship extraction. Expanded format support for the Native Parser is coming soon.
  • 💡🧠Feacture: Introduced four selectable text chunking strategies: Fix, Recursive, Vector, and Paragraph. The parameters for each chunking strategy can be configured through environment variables.
  • 💡🎯Feacture: The file processing pipeline supports selecting the file parsing engine and text chunking strategy either based on file extensions or on a per-file basis. For detailed usage instructions, refer to FileProcessingPipeline.md.
  • 🚀⚡Performance: Optimized the vector storage persistence logic by deferring vector computations until the end of each file processing batch, enabling centralized bulk computation. This significantly reduced the number of vector model invocations and significantly enhance the upsert speed of all vector DB LightRAG supported.
  • Enable task-aware embedding support for asymmetric models, including voyage-3, text-embedding-004, embed-multilingual-v3.0, and jina-embeddings-v3.
  • Improved entity/relation extraction reliability by introducing LLM JSON-structured output; set ENTITY_EXTRACTION_USE_JSON=true to enable it.
  • Introduce ENTITY_TYPE_PROMPT_FILE to empower users with enhanced guidance for LLM-driven entity type recognition and extraction.
  • Fully support Amazon and Anthropic models on AWS Bedrock API.
  • 🎯✨🎉Feacture: Implemented role-specific LLM configuration support, introducing four distinct roles: EXTRACT, QUERY, KEYWORDS, and VLM, each with independent LLM settings. It is recommended to configure the KEYWORDS role with a small-parameter, non-reasoning, high-speed model to optimize query latency; the EXTRACT role with a medium-parameter, non-reasoning model to balance accuracy and throughput; and the QUERY role with a large-parameter reasoning model to enhance query quality. For detailed usage instructions, refer to RoleSpecificLLMConfiguration.md.

What's Broken

  • 💥Warning: Upgrades require careful planning for users currently utilizing OpenSearch and MongoDB graph storage, as data migration and system restarts may cause extended service outages.
  • ⚠️The ENTITY_TYPES environment variable has been deprecated; Please replace it with ENTITY_TYPE_PROMPT_FILE before launching this new version.
  • 💔Removed deprecated field: Deleted QueryParam.model_func from lightrag/base.py
  • For OpenSearch versions prior to 3.3.0, upgrade OpenSearch before upgrading LightRAG (see HKUDS/LightRAG#2991).
  • ⚠️Move delete_entity/delete_relation from document API to graph API
Before After
DELETE /documents/delete_entity DELETE /graph/entity/delete
DELETE /documents/delete_relation DELETE /graph/relation/delete

What's Changed

... (truncated)

Commits
  • c67f055 Bump API vesion to 0305
  • 69d4291 Merge pull request #3193 from HKUDS/feat/parse-metadata-early-persist
  • a8eb85c ✨ feat(pipeline): persist parse_engine/parse_format at PARSING stage
  • c8c5363 Merge pull request #3191 from HKUDS/fix/pipeline-orphan-workers-busy-desync
  • 7ade591 ⏪ revert(pipeline): restore production-validated _run_pipeline_batch (6fbebf47)
  • 10887fe ♻️ refactor(pipeline): drop per-doc enqueue isolation, abort batch cleanly
  • 6f9bcec 🐛 fix(pipeline): discard buffered index ops when batch aborts by exception
  • 6fbebf4 🐛 fix(pipeline): label internal-error cancels correctly in doc_status
  • 4ac0803 🐛 fix(pipeline): guarantee worker teardown + isolate enqueue get_by_id
  • 29bde77 Merge pull request #3190 from HKUDS/fix/docx-outline-heading-softbreak-split
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [lightrag-hku](https://github.com/HKUDS/LightRAG) to permit the latest version.
- [Release notes](https://github.com/HKUDS/LightRAG/releases)
- [Commits](HKUDS/LightRAG@v1.0.3...v1.5.0)

---
updated-dependencies:
- dependency-name: lightrag-hku
  dependency-version: 1.5.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 8, 2026
@LarFii

LarFii commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Thanks @dependabot — closing this. RAG-Anything needs to stay on lightrag-hku<1.5 for now.

I verified 1.5.x compatibility empirically, and lightrag-hku 1.5.x breaks RAG-Anything's multimodal indexing at runtime, even though imports/signatures are unchanged and the (mocked) unit-test CI passes.

Root cause. raganything/modalprocessors.py builds global_config = asdict(lightrag) and passes it to lightrag.operate.extract_entities:

  • In 1.4.x, extract_entities reads global_config["llm_model_func"] — a LightRAG dataclass field, so it's present in asdict(lightrag). ✅
  • In 1.5.x (the role-based-LLM refactor), it reads global_config["role_llm_funcs"]["extract"]. role_llm_funcs is injected at runtime and is not a dataclass field, so asdict(lightrag) omits it → KeyError: 'role_llm_funcs'. ❌

Observed effect of a real insert_content_list (text + image + table + equation) against 1.5.1: every multimodal item fails entity extraction and queries return [no-context]. Secondary failures also surfaced — a tuple-unpack mismatch (expected 3, got 2) and 1.5's batched-embedding worker (PriorityQueue ... bound to a different event loop).

Why CI didn't catch it: the unit tests mock LightRAG and never run a real multimodal ingestion, so a one-line dependency bump passes CI without exercising the broken path.

This is consistent with the maintenance plan (docs/post_lightrag_integration_maintenance_plan.md): the v1.3.x line should not force a LightRAG upgrade. Adopting 1.5.x belongs to a future v1.4.x "adapter" effort that rewrites insert_content_list to feed LightRAG's own pipeline instead of writing storage directly and calling extract_entities / merge_nodes_and_edges with asdict(lightrag).

Closing for now; we'll revisit the bump as part of that adapter work.

@LarFii LarFii closed this Jun 10, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 10, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/pip/lightrag-hku-lt-1.6 branch June 10, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant