From a7f4b1d58b343e504d651e82461eb7cfeff2b533 Mon Sep 17 00:00:00 2001 From: chakcy <947105045@qq.com> Date: Fri, 28 Aug 2026 16:41:17 +0800 Subject: [PATCH] =?UTF-8?q?modify:=20cli=20gen=5Fplugin=20=E8=BF=9B?= =?UTF-8?q?=E7=A8=8B=E6=8F=92=E4=BB=B6=E6=A8=A1=E5=9D=97=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- src/chongming_cli/gen_plugin.py | 6 +++++- uv.lock | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4ded45b..13f6a39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ requires = ["hatchling"] [project] name = "chongming-cli" -version = "0.2.1" +version = "0.2.2" description = "chongming 命令脚本集合:构建打包 / 进程插件打包 / 插件脚手架 / 模型生成" readme = "README.md" requires-python = ">=3.12" diff --git a/src/chongming_cli/gen_plugin.py b/src/chongming_cli/gen_plugin.py index df9fcd5..2dab89d 100644 --- a/src/chongming_cli/gen_plugin.py +++ b/src/chongming_cli/gen_plugin.py @@ -281,7 +281,6 @@ def _gen_pyproject_toml(name: str) -> str: deps = [ "chongming-cache", "chongming-worker", - "orjson", # chongming-worker 运行时依赖(SDK metadata 未声明,容器内需显式安装) ] deps_lines = "\n".join(f' "{d}",' for d in deps) return f"""# {name} 进程插件依赖清单(扩展依赖直接在此追加,如 "minio") @@ -300,6 +299,11 @@ url = "{GITEA_PYPI_URL}" [[tool.uv.index]] url = "{PYPI_MIRROR}" +[dependency-groups] +dev = [ + "chongming-cli", +] + """ diff --git a/uv.lock b/uv.lock index c552ddc..1e4ecab 100644 --- a/uv.lock +++ b/uv.lock @@ -229,7 +229,7 @@ wheels = [ [[package]] name = "chongming-cli" -version = "0.2.1" +version = "0.2.2" source = { editable = "." } dependencies = [ { name = "chongming-config" },