Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin: nonebot-plugin-RanFurryPic #2701

Closed
Ekac00 opened this issue May 10, 2024 · 17 comments · Fixed by #2703
Closed

Plugin: nonebot-plugin-RanFurryPic #2701

Ekac00 opened this issue May 10, 2024 · 17 comments · Fixed by #2703
Labels
Plugin Publish Plugin

Comments

@Ekac00
Copy link
Contributor

Ekac00 commented May 10, 2024

PyPI 项目名

nonebot-plugin-RanFurryPic

插件 import 包名

nonebot_plugin_RanFurryPic

标签

[{"label":"furry","color":"#8cb9e3"}]

插件配置项

@Ekac00 Ekac00 added the Plugin Publish Plugin label May 10, 2024
@noneflow
Copy link
Contributor

noneflow bot commented May 10, 2024

📃 商店发布检查结果

Plugin: nonebot-plugin-RanFurryPic

✅ 所有测试通过,一切准备就绪!

详情
  • ✅ 项目 nonebot-plugin-RanFurryPic 已发布至 PyPI。
  • ✅ 项目 主页 返回状态码 200。
  • ✅ 标签: furry-#8cb9e3。
  • ✅ 插件类型: application。
  • ✅ 插件支持的适配器: nonebot.adapters.onebot.v11。
  • ✅ 插件 加载测试 通过。

  • 💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
    💡 当插件加载测试失败时,请发布新版本后在当前页面下评论任意内容以触发测试。

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

    💪 Powered by NoneFlow

    @he0119
    Copy link
    Member

    he0119 commented May 10, 2024

    你还需要将 nonebot2 添加至依赖中。

    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 10, 2024

    你还需要将 nonebot2 添加至依赖中。

    请问是写到插件配置项里吗?
    有什么格式要求吗?

    Copy link

    XieXiLin2 commented May 10, 2024

    建议 认真、仔细 看完文档并修改发版后再来发布插件。
    https://nonebot.dev/docs/developer/plugin-publishing
    看不懂的部分建议进行 Google / Bing 搜索,或直接加入用户群询问。
    另外建议您了解一下异步的相关知识。

    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 10, 2024

    已更新

    2 similar comments
    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 10, 2024

    已更新

    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 10, 2024

    已更新

    @StarHeartHunt
    Copy link
    Member

    包打得有问题,实际插件代码并没有打包进来,请重新检查打包
    image

    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 11, 2024

    已更新

    3 similar comments
    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 11, 2024

    已更新

    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 11, 2024

    已更新

    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 11, 2024

    已更新

    @StarHeartHunt
    Copy link
    Member

    1. 不要在 nonebot2 中使用 requests,因为会导致事件循环阻塞,可以考虑换用 httpx.AsyncClient 或者 aiohttp
    2. nonebot2 从 2.3.0 开始移除了 Python 3.8 支持,请使用 3.9 及以上版本的 Python
    3. 如果没有自定义打包流程的需求,pdm 应该已经自带比较完善的打包发布支持,不需要 setup.py

    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 11, 2024

    1. 不要在 nonebot2 中使用 requests,因为会导致事件循环阻塞,可以考虑换用 httpx.AsyncClient 或者 aiohttp
    2. nonebot2 从 2.3.0 开始移除了 Python 3.8 支持,请使用 3.9 及以上版本的 Python
    3. 如果没有自定义打包流程的需求,pdm 应该已经自带比较完善的打包发布支持,不需要 setup.py

    好的,我会更换为httpx进行请求,稍后修改py版本

    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 11, 2024

    已更新

    2 similar comments
    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 11, 2024

    已更新

    @Ekac00
    Copy link
    Contributor Author

    Ekac00 commented May 11, 2024

    已更新

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Plugin Publish Plugin
    Development

    Successfully merging a pull request may close this issue.

    4 participants