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-repeater-count #3299

Open
1 task
name-is-hard-to-make opened this issue Feb 3, 2025 · 7 comments · May be fixed by #3300
Open
1 task

Plugin: nonebot-plugin-repeater-count #3299

name-is-hard-to-make opened this issue Feb 3, 2025 · 7 comments · May be fixed by #3300
Labels
Plugin Publish Plugin Publish Publish things to store

Comments

@name-is-hard-to-make
Copy link

name-is-hard-to-make commented Feb 3, 2025

PyPI 项目名

nonebot-plugin-repeater-count

插件 import 包名

nonebot_plugin_repeater_count

标签

[{"label":"log","color":"#ea5252"},{"label":"复读","color":"#4dd1ca"}]

插件配置项

插件测试

  • 如需重新运行插件测试,请勾选左侧勾选框
@name-is-hard-to-make name-is-hard-to-make added Plugin Publish Plugin Publish Publish things to store labels Feb 3, 2025
@noneflow
Copy link
Contributor

noneflow bot commented Feb 3, 2025

📃 商店发布检查结果

Plugin: nonebot-plugin-repeater-count

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

  • ⚠️ 插件加载测试未通过。
    测试输出项目 nonebot-plugin-repeater-count 创建失败: Virtualenv Python: 3.12.8 Implementation: CPython Path: /app/plugin_test/.venv Executable: /app/plugin_test/.venv/bin/python Valid: True Base Platform: linux OS: posix Python: 3.12.8 Path: /root/.local/share/uv/python/cpython-3.12.8-linux-x86_64-gnu Executable: /root/.local/share/uv/python/cpython-3.12.8-linux-x86_64-gnu/bin/python3.12 Using version ^0.2.1 for nonebot-plugin-repeater-count Updating dependencies Resolving dependencies... Package operations: 20 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.1) - Installing pydantic-core (2.27.2) - Installing sniffio (1.3.1) - Installing anyio (4.8.0) - Installing pygtrie (2.5.0) - Installing loguru (0.7.3) - Installing yarl (1.18.3) - Installing exceptiongroup (1.2.2) - Installing python-dotenv (1.0.1) - Installing pydantic (2.10.6) - Installing msgpack (1.1.0) - Installing nonebot2 (2.4.1) - Installing nonebot-adapter-onebot (2.4.6) - Installing pillow (9.5.0) - Installing nonebot-plugin-localstore (0.3.1) ChefBuildError Backend subprocess exited when trying to invoke build_wheel running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageWin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/WalImageFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/BlpImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/Image.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/TarIO.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageDraw2.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FitsImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PdfParser.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PaletteFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/_deprecate.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageChops.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageGrab.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/BdfFontFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/SunImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageCms.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/MicImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ContainerIO.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PcfFontFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/_binary.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ExifTags.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/MspImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageShow.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageMath.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageMorph.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageFont.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageDraw.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FontFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageSequence.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GdImageFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/__main__.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PngImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/QoiImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImagePalette.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/features.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImagePath.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageQt.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageColor.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageEnhance.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FliImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageFilter.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PSDraw.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/TiffTags.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageMode.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GimpGradientFile.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/_version.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PyAccess.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/__init__.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageTransform.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/JpegPresets.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/CurImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/_tkinter_finder.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GifImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageOps.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageStat.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/ImageTk.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/_util.py -> build/lib.linux-x86_64-cpython-312/PIL copying src/PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-cpython-312/PIL running egg_info writing src/Pillow.egg-info/PKG-INFO writing dependency_links to src/Pillow.egg-info/dependency_links.txt writing requirements to src/Pillow.egg-info/requires.txt writing top-level names to src/Pillow.egg-info/top_level.txt reading manifest file 'src/Pillow.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.c' warning: no files found matching '*.h' warning: no files found matching '*.sh' warning: no files found matching '*.txt' warning: no previously-included files found matching '.appveyor.yml' warning: no previously-included files found matching '.clang-format' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.readthedocs.yml' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files found matching 'renovate.json' warning: no previously-included files matching '.git*' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution no previously-included directories found matching '.ci' adding license file 'LICENSE' writing manifest file 'src/Pillow.egg-info/SOURCES.txt' running build_ext The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source. Please see the install instructions at: https://pillow.readthedocs.io/en/latest/installation.html Traceback (most recent call last): File "<string>", line 993, in <module> File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 186, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 202, in run_commands dist.run_commands() File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 983, in run_commands self.run_command(cmd) File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 999, in run_command super().run_command(command) File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1002, in run_command cmd_obj.run() File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/command/bdist_wheel.py", line 379, in run self.run_command("build") File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 339, in run_command self.distribution.run_command(command) File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 999, in run_command super().run_command(command) File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1002, in run_command cmd_obj.run() File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build.py", line 136, in run self.run_command(cmd_name) File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 339, in run_command self.distribution.run_command(command) File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 999, in run_command super().run_command(command) File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1002, in run_command cmd_obj.run() File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/command/build_ext.py", line 99, in run _build_ext.run(self) File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 365, in run self.build_extensions() File "<string>", line 809, in build_extensions RequiredDependencyException: zlib During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/.local/share/uv/tools/poetry/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module> main() File "/root/.local/share/uv/tools/poetry/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.local/share/uv/tools/poetry/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel return _build_backend().build_wheel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 435, in build_wheel return _build(['bdist_wheel']) ^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 426, in _build return self._build_with_temp_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 407, in _build_with_temp_dir self.run_setup() File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 522, in run_setup super().run_setup(setup_script=setup_script) File "/tmp/tmp_yiq7vsh/.venv/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup exec(code, locals()) File "<string>", line 1010, in <module> RequiredDependencyException: The headers or library files could not be found for zlib, a required dependency when compiling Pillow from source. Please see the install instructions at: https://pillow.readthedocs.io/en/latest/installation.html at ~/.local/share/uv/tools/poetry/lib/python3.13/site-packages/poetry/installation/chef.py:164 in _prepare 160│ 161│ error = ChefBuildError("\n\n".join(message_parts)) 162│ 163│ if error is not None: → 164│ raise error from None 165│ 166│ return path 167│ 168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path: Note: This error originates from the build backend, and is likely not a problem with poetry but with pillow (9.5.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pillow (==9.5.0)"'. Using CPython 3.12.8 Creating virtual environment at: .venv
  • ⚠️ 无法获取到插件元数据。
    请确保插件正常加载。
  • 详情
  • ✅ 项目 nonebot-plugin-repeater-count 已发布至 PyPI。
  • ✅ 标签: log-#ea5252, 复读-#4dd1ca。
  • ✅ 版本号: 0.2.1。
  • ✅ 发布时间:2025-02-10 04:44:45 CST。

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

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

    💪 Powered by NoneFlow

    @noneflow noneflow bot changed the title Plugin: {name} Plugin: 群复读机统计 Plugin: 复读统计 Feb 3, 2025
    noneflow bot pushed a commit that referenced this issue Feb 3, 2025
    @noneflow noneflow bot linked a pull request Feb 3, 2025 that will close this issue
    noneflow bot pushed a commit that referenced this issue Feb 4, 2025
    noneflow bot pushed a commit that referenced this issue Feb 4, 2025
    @yanyongyu
    Copy link
    Member

    config 无用请删除。插件数据存储目录请使用 localstore 插件获取。

    noneflow bot pushed a commit that referenced this issue Feb 6, 2025
    @noneflow noneflow bot changed the title Plugin: 复读统计 Plugin: nonebot-plugin-repeater-count Feb 9, 2025
    @name-is-hard-to-make
    Copy link
    Author

    我不知道是否已经成功提交,已修改上述问题。

    Copy link
    Contributor

    你的插件缺少依赖 pillow

    以及使用 localstore 插件需要 require

    @name-is-hard-to-make
    Copy link
    Author

    已修改toml文件,添加pillow = "^9.3.0",nonebot-plugin-localstore = "^0.3.0" ,python-dateutil = "^2.8.2"

    Copy link
    Contributor

    无关依赖 python-dateutil 请删去

    未 require localstore
    https://nonebot.dev/docs/advanced/requiring#%E6%8F%92%E4%BB%B6%E4%BE%9D%E8%B5%96%E5%A3%B0%E6%98%8E

    @name-is-hard-to-make
    Copy link
    Author

    已修改,感谢!

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

    Successfully merging a pull request may close this issue.

    3 participants