nonebot / noneflow-test

测试 NoneFlow 的仓库
1 stars 1 forks source link

Plugin: nonebot-plugin-api-scheduler #38

Closed BigOrangeQWQ closed 3 hours ago

BigOrangeQWQ commented 3 hours ago

PyPI 项目名

nonebot-plugin-api-scheduler

插件 import 包名

nonebot_plugin_api_scheduler

标签

[{"label":"scheduler","color":"#ea5252"},{"label":"api","color":"#ea5252"}]

插件配置项

DRIVER=~fastapi

插件测试

noneflow[bot] commented 3 hours ago

📃 商店发布检查结果

Plugin: nonebot-plugin-api-scheduler

⚠️ 在发布检查过程中,我们发现以下问题:

  • ⚠️ 插件加载测试未通过。
    测试输出创建测试目录 plugin_test 项目 nonebot-plugin-api-scheduler 创建成功。 Virtualenv Python: 3.12.7 Implementation: CPython Path: NA Executable: NA Base Platform: linux OS: posix Python: 3.12.7 Path: /usr/local Executable: /usr/local/bin/python3.12 Using version ^1.0.5 for nonebot-plugin-api-scheduler Updating dependencies Resolving dependencies... Package operations: 25 installs, 0 updates, 0 removals - Installing typing-extensions (4.12.2) - Installing annotated-types (0.7.0) - Installing idna (3.10) - Installing multidict (6.1.0) - Installing propcache (0.2.0) - Installing pydantic-core (2.23.4) - Installing sniffio (1.3.1) - Installing anyio (4.6.2.post1) - Installing exceptiongroup (1.2.2) - Installing loguru (0.7.2) - Installing pydantic (2.9.2) - Installing pygtrie (2.5.0) - Installing python-dotenv (1.0.1) - Installing pytz (2024.2) - Installing six (1.16.0) - Installing tzlocal (5.2) - Installing yarl (1.17.1) - Installing apscheduler (3.10.4) - Installing msgpack (1.1.0) - Installing nonebot2 (2.4.0) - Installing starlette (0.41.2) - Installing fastapi (0.115.5) - Installing nonebot-adapter-onebot (2.4.6) - Installing nonebot-plugin-apscheduler (0.5.0) - Installing nonebot-plugin-api-scheduler (1.0.5) Writing lock file 插件 nonebot-plugin-api-scheduler 依赖的插件如下: nonebot_plugin_apscheduler 插件 nonebot-plugin-api-scheduler 的信息如下: name : nonebot-plugin-api-scheduler version : 1.0.5 description : 像操作API一样设置定时任务&计划任务 dependencies - apscheduler >=3.7.0,<4.0.0 - fastapi >=0.115.2,<0.116.0 - nonebot-adapter-onebot >=2.4.0 - nonebot-plugin-apscheduler >=0.5.0,<0.6.0 - nonebot2 >=2.1.1,<3.0.0 - pydantic >=2.8.0 插件 nonebot_plugin_api_scheduler 加载出错: 11-15 14:05:39 [SUCCESS] nonebot | NoneBot is initializing... 11-15 14:05:39 [INFO] nonebot | Current Env: prod Traceback (most recent call last): File "/tmp/plugin_test/nonebot-plugin-api-scheduler-nonebot_plugin_api_scheduler/.venv/lib/python3.12/site-packages/nonebot/drivers/fastapi.py", line 40, in <module> import uvicorn ModuleNotFoundError: No module named 'uvicorn' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/tmp/plugin_test/nonebot-plugin-api-scheduler-nonebot_plugin_api_scheduler/runner.py", line 15, in <module> init() File "/tmp/plugin_test/nonebot-plugin-api-scheduler-nonebot_plugin_api_scheduler/.venv/lib/python3.12/site-packages/nonebot/__init__.py", line 320, in init DriverClass = _resolve_combine_expr(config.driver) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/plugin_test/nonebot-plugin-api-scheduler-nonebot_plugin_api_scheduler/.venv/lib/python3.12/site-packages/nonebot/__init__.py", line 256, in _resolve_combine_expr DriverClass = resolve_dot_notation( ^^^^^^^^^^^^^^^^^^^^^ File "/tmp/plugin_test/nonebot-plugin-api-scheduler-nonebot_plugin_api_scheduler/.venv/lib/python3.12/site-packages/nonebot/utils.py", line 290, in resolve_dot_notation module = importlib.import_module(modulename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 995, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/tmp/plugin_test/nonebot-plugin-api-scheduler-nonebot_plugin_api_scheduler/.venv/lib/python3.12/site-packages/nonebot/drivers/fastapi.py", line 45, in <module> raise ImportError( ImportError: Please install FastAPI first to use this driver. Install with pip: `pip install nonebot2[fastapi]`
  • 详情
  • ✅ 项目 nonebot-plugin-api-scheduler 已发布至 PyPI。
  • ✅ 标签: scheduler-#ea5252, api-#ea5252。

  • 💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。 💡 当插件加载测试失败时,请发布新版本后勾选插件测试勾选框重新运行插件测试。

    ♻️ 评论已更新至最新检查结果

    💪 Powered by NoneFlow