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.
Alessandro committed
May 29, 2026 at 16:07 UTC
6df3acc1e683ab5d025db478fc307f7099e95d52
3 files changed
+4
-4
plugins/_document_query/requirements.txt
+1
-1
@@ -1 +1 @@
1
-liteparse>=2.0.0,<3.0.0
1
+liteparse==2.0.3
requirements.txt
+1
-1
@@ -17,7 +17,7 @@ simpleeval==1.0.3
17
langchain-core==0.3.49
18
langchain-community==0.3.19
19
langchain-unstructured==0.1.6
20
-liteparse>=2.0.0,<3.0.0
20
+liteparse==2.0.3
21
openai-whisper==20250625
22
lxml_html_clean>=0.4.0 # CVE-2024-52595 fix: XSS CWE-79 CVSS 8.4
23
markdown==3.7
tests/test_document_query_plugin.py
+2
-2
@@ -107,8 +107,8 @@ def test_liteparse_is_installed_by_docker_and_plugin_hook_requirements():
107
ROOT / "plugins" / "_document_query" / "requirements.txt"
108
).read_text(encoding="utf-8")
109
110
- assert "liteparse>=2.0.0,<3.0.0" in root_requirements
111
- assert plugin_requirements.strip().splitlines() == ["liteparse>=2.0.0,<3.0.0"]
110
+ assert "liteparse==2.0.3" in root_requirements
111
+ assert plugin_requirements.strip().splitlines() == ["liteparse==2.0.3"]
112
113
114
def test_default_config_bounds_liteparse_runtime_concurrency():