Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

chore(deps): clean up unused, duplicate, and unbounded dependencies (#3229)

LearningCircuit8580fa921c8d
diff --git a/pdm.lock b/pdm.lock
index 58ccee7b4e..525c49fc8b 100644
--- a/pdm.lock
+++ b/pdm.lock
@@ -5,7 +5,7 @@
groups = ["default", "dev", "mcp"]
strategy = ["inherit_metadata"]
lock_version = "4.5.0"
-content_hash = "sha256:aff91e02d6b99ac160e187f26cb8d0d7c91286d8f17c037e04f7efb55e556216"
+content_hash = "sha256:515b1c22dc556890304e00b8580eb47a60639e77bbe3f3cda9a069f9356748b3"
[[metadata.targets]]
requires_python = ">=3.12,<3.15"
@@ -151,7 +151,7 @@ name = "alembic"
version = "1.18.4"
requires_python = ">=3.10"
summary = "A database migration tool for SQLAlchemy."
-groups = ["default", "dev"]
+groups = ["default"]
dependencies = [
"Mako",
"SQLAlchemy>=1.4.23",
@@ -719,7 +719,7 @@ name = "colorlog"
version = "6.10.1"
requires_python = ">=3.6"
summary = "Add colours to the output of Python's logging module."
-groups = ["default", "dev"]
+groups = ["default"]
dependencies = [
"colorama; sys_platform == \"win32\"",
]
@@ -1846,7 +1846,7 @@ name = "greenlet"
version = "3.4.0"
requires_python = ">=3.10"
summary = "Lightweight in-process concurrent programming"
-groups = ["default", "dev"]
+groups = ["default"]
files = [
{file = "greenlet-3.4.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:1a54a921561dd9518d31d2d3db4d7f80e589083063ab4d3e2e950756ef809e1a"},
{file = "greenlet-3.4.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:16dec271460a9a2b154e3b1c2fa1050ce6280878430320e85e08c166772e3f97"},
@@ -2165,20 +2165,6 @@ files = [
{file = "importlib_metadata-9.0.0.tar.gz", hash = "sha256:a4f57ab599e6a2e3016d7595cfd72eb4661a5106e787a95bcc90c7105b831efc"},
]
-[[package]]
-name = "importlib-resources"
-version = "6.5.2"
-requires_python = ">=3.9"
-summary = "Read resources from Python packages"
-groups = ["default"]
-dependencies = [
- "zipp>=3.1.0; python_version < \"3.10\"",
-]
-files = [
- {file = "importlib_resources-6.5.2-py3-none-any.whl", hash = "sha256:789cfdc3ed28c78b67a06acb8126751ced69a3d5f79c095a98298cd8a760ccec"},
- {file = "importlib_resources-6.5.2.tar.gz", hash = "sha256:185f87adef5bcc288449d98fb4fba07cea78bc036455dd44c5fc4a2fe78fed2c"},
-]
-
[[package]]
name = "iniconfig"
version = "2.3.0"
@@ -3166,7 +3152,7 @@ name = "mako"
version = "1.3.11"
requires_python = ">=3.8"
summary = "A super-fast templating language that borrows the best ideas from the existing templating languages."
-groups = ["default", "dev"]
+groups = ["default"]
dependencies = [
"MarkupSafe>=0.9.2",
]
@@ -3753,7 +3739,7 @@ name = "numpy"
version = "2.4.4"
requires_python = ">=3.11"
summary = "Fundamental package for array computing in Python"
-groups = ["default", "dev"]
+groups = ["default"]
files = [
{file = "numpy-2.4.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:15716cfef24d3a9762e3acdf87e27f58dc823d1348f765bbea6bef8c639bfa1b"},
{file = "numpy-2.4.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:23cbfd4c17357c81021f21540da84ee282b9c8fba38a03b7b9d09ba6b951421e"},
@@ -3875,7 +3861,7 @@ name = "optuna"
version = "4.8.0"
requires_python = ">=3.9"
summary = "A hyperparameter optimization framework"
-groups = ["default", "dev"]
+groups = ["default"]
dependencies = [
"PyYAML",
"alembic>=1.5.0",
@@ -4013,7 +3999,7 @@ name = "pandas"
version = "3.0.2"
requires_python = ">=3.11"
summary = "Powerful data structures for data analysis, time series, and statistics"
-groups = ["default", "dev"]
+groups = ["default"]
dependencies = [
"numpy>=1.26.0; python_version < \"3.14\"",
"numpy>=2.3.3; python_version >= \"3.14\"",
@@ -5840,7 +5826,7 @@ name = "sqlalchemy"
version = "2.0.49"
requires_python = ">=3.7"
summary = "Database Abstraction Library"
-groups = ["default", "dev"]
+groups = ["default"]
dependencies = [
"greenlet>=1; platform_machine == \"win32\" or platform_machine == \"WIN32\" or platform_machine == \"AMD64\" or platform_machine == \"amd64\" or platform_machine == \"x86_64\" or platform_machine == \"ppc64le\" or platform_machine == \"aarch64\"",
"importlib-metadata; python_version < \"3.8\"",
@@ -6244,7 +6230,7 @@ name = "tqdm"
version = "4.67.3"
requires_python = ">=3.7"
summary = "Fast, Extensible Progress Meter"
-groups = ["default", "dev"]
+groups = ["default"]
dependencies = [
"colorama; platform_system == \"Windows\"",
"importlib-metadata; python_version < \"3.8\"",
@@ -6390,17 +6376,6 @@ files = [
{file = "types_requests-2.33.0.20260408.tar.gz", hash = "sha256:95b9a86376807a216b2fb412b47617b202091c3ea7c078f47cc358d5528ccb7b"},
]
-[[package]]
-name = "types-setuptools"
-version = "82.0.0.20260408"
-requires_python = ">=3.10"
-summary = "Typing stubs for setuptools"
-groups = ["dev"]
-files = [
- {file = "types_setuptools-82.0.0.20260408-py3-none-any.whl", hash = "sha256:ece0a215cdfa6463a65fd6f68bd940f39e455729300ddfe61cab1147ed1d2462"},
- {file = "types_setuptools-82.0.0.20260408.tar.gz", hash = "sha256:036c68caf7e672a699f5ebbf914708d40644c14e05298bc49f7272be91cf43d3"},
-]
-
[[package]]
name = "types-toml"
version = "0.10.8.20260408"
@@ -6468,7 +6443,7 @@ version = "2026.1"
requires_python = ">=2"
summary = "Provider of IANA time zone data"
groups = ["default", "dev"]
-marker = "sys_platform == \"win32\" or sys_platform == \"emscripten\" or platform_system == \"Windows\" or python_version >= \"3.9\""
+marker = "platform_system == \"Windows\" or sys_platform == \"emscripten\" or sys_platform == \"win32\" or python_version >= \"3.9\""
files = [
{file = "tzdata-2026.1-py2.py3-none-any.whl", hash = "sha256:4b1d2be7ac37ceafd7327b961aa3a54e467efbdb563a23655fbfe0d39cfc42a9"},
{file = "tzdata-2026.1.tar.gz", hash = "sha256:67658a1903c75917309e753fdc349ac0efd8c27db7a0cb406a25be4840f87f98"},
diff --git a/pyproject.toml b/pyproject.toml
index c864985fd0..80051e8905 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -64,9 +64,7 @@ dependencies = [
"pdfplumber~=0.11",
"unstructured~=0.18",
"google-search-results~=2.4",
- "importlib-resources~=6.5",
- "setuptools~=82.0",
- "jaraco-context~=6.1", # CVE GHSA-58pv-8j8x-9vj2 fix for path traversal
+ "jaraco-context~=6.1", # CVE GHSA-58pv-8j8x-9vj2 fix for path traversal (also pinned as transitive dep)
"flask-wtf~=1.2",
"optuna~=4.7",
"elasticsearch~=9.3",
@@ -89,7 +87,6 @@ dependencies = [
"sqlcipher3~=0.6; sys_platform != \"linux\"",
"lxml-html-clean>=0.4.4", # CVE-2026-28350: base tag injection bypass
"weasyprint~=68.1",
- "jaraco-context~=6.1", # Transitive dep - pinned for GHSA-58pv-8j8x-9vj2
"Pillow>=12.1.1", # CVE-2026-25990: out-of-bounds write in PSD
"cryptography>=46.0.7", # CVE-2026-26007: SECT curves subgroup attack; CVE-2026-39892: non-contiguous buffer overflow
"apprise~=1.9",
@@ -157,8 +154,6 @@ dev = [
"virtualenv~=20.36",
"pre-commit~=4.5",
"cookiecutter~=2.6",
- "pandas~=3.0",
- "optuna~=4.7",
"pytest-mock~=3.15",
"pytest~=9.0",
"pytest-cov~=7.0",
@@ -169,7 +164,6 @@ dev = [
"freezegun~=1.5",
"mypy~=1.19",
"types-requests~=2.32",
- "types-setuptools~=82.0",
"types-toml~=0.10",
"types-flask~=1.1",
"hypothesis~=6.151",