feat: remove legacy plugin deps checking

This commit is contained in:
Junyan Qin
2025-09-16 15:11:10 +08:00
parent b6ff2be4df
commit e7e6eeda61

View File

@@ -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