The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
chore: remove dead tomli dependency declaration
kshitij1709f82c1533
diff --git a/pyproject.toml b/pyproject.tomlindex da91e38984e..8d6a3eed9d6 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -45,11 +45,6 @@ dependencies = ["rich==14.3.3","tenacity==9.1.4","pyyaml==6.0.3",- # tomli — TOML parser used as pre-3.11 fallback for stdlib tomllib- # (tools/file_operations.py: _lint_toml_inproc). On 3.11+ this is a- # no-op install; the platform marker keeps it off the resolution for- # current Python so it doesn't add a dependency to every install.- "tomli==2.4.1; python_version < '3.11'","ruamel.yaml==0.18.17","requests==2.33.0", # CVE-2026-25645"jinja2==3.1.6",diff --git a/tools/file_operations.py b/tools/file_operations.pyindex d22d12bb8c2..ab4965ea14d 100644--- a/tools/file_operations.py+++ b/tools/file_operations.py@@ -661,14 +661,8 @@ def _lint_yaml_inproc(content: str) -> tuple[bool, str]:def _lint_toml_inproc(content: str) -> tuple[bool, str]:"""In-process TOML syntax check (stdlib tomllib, Python 3.11+)."""- try:- import tomllib as _toml- except ImportError:- # Pre-3.11 fallback via tomli, if installed.- try:- import tomli as _toml # type: ignore[no-redef]- except ImportError:- return True, "__SKIP__"+ import tomllib as _toml+try:_toml.loads(content)return True, ""diff --git a/uv.lock b/uv.lockindex f2876b80ccd..18b88001199 100644--- a/uv.lock+++ b/uv.lock@@ -8,7 +8,7 @@ resolution-markers = [][options]-exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values.+exclude-newer = "2026-07-20T16:38:42.729819205Z"exclude-newer-span = "P14D"[options.exclude-newer-package]@@ -1927,7 +1927,6 @@ requires-dist = [{ name = "starlette", marker = "extra == 'web'", specifier = "==1.3.1" },{ name = "supermemory", marker = "extra == 'supermemory'", specifier = "==3.50.0" },{ name = "tenacity", specifier = "==9.1.4" },- { name = "tomli", marker = "python_full_version < '3.11'", specifier = "==2.4.1" },{ name = "ty", marker = "extra == 'dev'", specifier = "==0.0.21" },{ name = "tzdata", marker = "sys_platform == 'win32'", specifier = "==2025.3" },{ name = "urllib3", specifier = ">=2.7.0,<3" },