From 349d47baf510be8e275de27e493b474936e9ee7b Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 22 Sep 2026 02:38:57 +0800 Subject: [PATCH] chore(deps): declare click as a direct dependency (#2095) --- CHANGELOG.md | 2 ++ pyproject.toml | 1 + uv.lock | 2 ++ 3 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72019c9b..7d1ef3dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -168,6 +168,8 @@ CLI: - Fix `project index-file` command not using only the relevant language server to index the given file (#1965) * Dependencies: + - Fix: declare `click` as a direct dependency; all three console scripts (`serena`, `serena-agent`, + `serena-hooks`) import it but it was only available transitively - Remove the redundant `dotenv` dependency; the `dotenv` module is provided by `python-dotenv` - Upgrade the `mcp` SDK from 1.28.1 to 2.2.0 diff --git a/pyproject.toml b/pyproject.toml index 99d33265..e83145bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ dependencies = [ "overrides==7.7.0", "python-dotenv==1.2.2", "mcp==2.2.0", + "click==8.3.1", "flask==3.1.3", # bumped from 3.1.1 for CVE fix (also fixes werkzeug alert) "sensai-utils==1.5.0", "pydantic==2.12.5", diff --git a/uv.lock b/uv.lock index 89ef52bf..ea17f0cc 100644 --- a/uv.lock +++ b/uv.lock @@ -2823,6 +2823,7 @@ source = { editable = "." } dependencies = [ { name = "anthropic" }, { name = "beautifulsoup4" }, + { name = "click" }, { name = "cryptography" }, { name = "docstring-parser" }, { name = "filelock" }, @@ -2892,6 +2893,7 @@ requires-dist = [ { name = "agno", marker = "extra == 'agno'", specifier = "==2.6.6" }, { name = "anthropic", specifier = "==0.117.0" }, { name = "beautifulsoup4", specifier = "==4.14.2" }, + { name = "click", specifier = "==8.3.1" }, { name = "cryptography", specifier = "==50.0.0" }, { name = "docstring-parser", specifier = "==0.17.0" }, { name = "filelock", specifier = "==3.25.2" },