mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-10-19 15:33:54 +00:00
fix(document_query): pin LiteParse dependency
Pin LiteParse to 2.0.3 in both Docker requirements and the plugin hook requirements so new images and existing plugin installs resolve the same tested runtime.
This commit is contained in:
parent
b2ead06a4e
commit
6df3acc1e6
3 changed files with 4 additions and 4 deletions
|
|
@ -1 +1 @@
|
|||
liteparse>=2.0.0,<3.0.0
|
||||
liteparse==2.0.3
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ simpleeval==1.0.3
|
|||
langchain-core==0.3.49
|
||||
langchain-community==0.3.19
|
||||
langchain-unstructured==0.1.6
|
||||
liteparse>=2.0.0,<3.0.0
|
||||
liteparse==2.0.3
|
||||
openai-whisper==20250625
|
||||
lxml_html_clean>=0.4.0 # CVE-2024-52595 fix: XSS CWE-79 CVSS 8.4
|
||||
markdown==3.7
|
||||
|
|
|
|||
|
|
@ -107,8 +107,8 @@ def test_liteparse_is_installed_by_docker_and_plugin_hook_requirements():
|
|||
ROOT / "plugins" / "_document_query" / "requirements.txt"
|
||||
).read_text(encoding="utf-8")
|
||||
|
||||
assert "liteparse>=2.0.0,<3.0.0" in root_requirements
|
||||
assert plugin_requirements.strip().splitlines() == ["liteparse>=2.0.0,<3.0.0"]
|
||||
assert "liteparse==2.0.3" in root_requirements
|
||||
assert plugin_requirements.strip().splitlines() == ["liteparse==2.0.3"]
|
||||
|
||||
|
||||
def test_default_config_bounds_liteparse_runtime_concurrency():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue