From e7e6eeda61773bd957bf5b00efeefdd4451af076 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Tue, 16 Sep 2025 15:11:10 +0800 Subject: [PATCH] feat: remove legacy plugin deps checking --- main.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.py b/main.py index bf6cd39a..f8451e1f 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,6 @@ asciiart = r""" async def main_entry(loop: asyncio.AbstractEventLoop): parser = argparse.ArgumentParser(description='LangBot') - parser.add_argument('--skip-plugin-deps-check', action='store_true', help='跳过插件依赖项检查', default=False) parser.add_argument('--standalone-runtime', action='store_true', help='使用独立插件运行时', default=False) args = parser.parse_args() @@ -49,10 +48,6 @@ async def main_entry(loop: asyncio.AbstractEventLoop): print('The missing dependencies have been installed automatically, please restart the program.') sys.exit(0) - # check plugin deps - if not args.skip_plugin_deps_check: - await deps.precheck_plugin_deps() - # # 检查pydantic版本,如果没有 pydantic.v1,则把 pydantic 映射为 v1 # import pydantic.version