From 5c0c271b4f74dd74ae134f6d4a44cbfaa70f4ed4 Mon Sep 17 00:00:00 2001 From: wmymz Date: Fri, 14 Nov 2025 14:52:52 +0800 Subject: [PATCH] =?UTF-8?q?**commit=20message=EF=BC=88=E9=81=B5=E5=BE=AA?= =?UTF-8?q?=20conventional=20commit=20=E8=A7=84=E8=8C=83=EF=BC=89**?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` fix(deps): 为 httpx 添加 socks 额外依赖并更新锁文件 (main) 更新 uv.lock 中 httpx 配置,增加 socks 额外依赖与 socksio 库。 同步修改 pyproject.toml,版本号提升至 0.1.6。 此更改确保通过代理的网络请求支持 SOCKS 协议。 ``` --- pyproject.toml | 4 ++-- uv.lock | 18 ++++++++++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a568790..afb391a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "acemcp" -version = "0.1.5" +version = "0.1.6" description = "MCP server for codebase indexing and semantic search with multi-encoding support and .gitignore integration" readme = "README.md" authors = [ @@ -11,7 +11,7 @@ dependencies = [ "dynaconf>=3.2.12", "loguru>=0.7.3", "mcp>=1.1.2", - "httpx>=0.28.1", + "httpx[socks]>=0.28.1", "fastapi>=0.115.6", "uvicorn[standard]>=0.34.0", "toml>=0.10.2", diff --git a/uv.lock b/uv.lock index 928f23a..ea0a6ac 100644 --- a/uv.lock +++ b/uv.lock @@ -9,7 +9,7 @@ source = { editable = "." } dependencies = [ { name = "dynaconf" }, { name = "fastapi" }, - { name = "httpx" }, + { name = "httpx", extra = ["socks"] }, { name = "loguru" }, { name = "mcp" }, { name = "pathspec" }, @@ -29,7 +29,7 @@ dev = [ requires-dist = [ { name = "dynaconf", specifier = ">=3.2.12" }, { name = "fastapi", specifier = ">=0.115.6" }, - { name = "httpx", specifier = ">=0.28.1" }, + { name = "httpx", extras = ["socks"], specifier = ">=0.28.1" }, { name = "loguru", specifier = ">=0.7.3" }, { name = "mcp", specifier = ">=1.1.2" }, { name = "pathspec", specifier = ">=0.12.1" }, @@ -407,6 +407,11 @@ wheels = [ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, ] +[package.optional-dependencies] +socks = [ + { name = "socksio" }, +] + [[package]] name = "httpx-sse" version = "0.4.3" @@ -990,6 +995,15 @@ wheels = [ { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235, upload-time = "2024-02-25T23:20:01.196Z" }, ] +[[package]] +name = "socksio" +version = "1.0.0" +source = { registry = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/" } +sdist = { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/f8/5c/48a7d9495be3d1c651198fd99dbb6ce190e2274d0f28b9051307bdec6b85/socksio-1.0.0.tar.gz", hash = "sha256:f88beb3da5b5c38b9890469de67d0cb0f9d494b78b106ca1845f96c10b91c4ac", size = 19055, upload-time = "2020-04-17T15:50:34.664Z" } +wheels = [ + { url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/packages/37/c3/6eeb6034408dac0fa653d126c9204ade96b819c936e136c5e8a6897eee9c/socksio-1.0.0-py3-none-any.whl", hash = "sha256:95dc1f15f9b34e8d7b16f06d74b8ccf48f609af32ab33c608d08761c5dcbb1f3", size = 12763, upload-time = "2020-04-17T15:50:31.878Z" }, +] + [[package]] name = "sse-starlette" version = "3.0.3"