From 974aab5988147832d5df7a94fd4a500d38f294a6 Mon Sep 17 00:00:00 2001 From: student_2333 Date: Fri, 13 Oct 2023 16:45:50 +0800 Subject: [PATCH] up --- nonebot_plugin_nonememe/__init__.py | 12 ++---------- pdm.lock | 16 ++++++++-------- pyproject.toml | 6 +++--- 3 files changed, 13 insertions(+), 21 deletions(-) diff --git a/nonebot_plugin_nonememe/__init__.py b/nonebot_plugin_nonememe/__init__.py index 19c49ef..78b6157 100644 --- a/nonebot_plugin_nonememe/__init__.py +++ b/nonebot_plugin_nonememe/__init__.py @@ -1,5 +1,5 @@ from nonebot import require -from nonebot.plugin import PluginMetadata +from nonebot.plugin import PluginMetadata, inherit_supported_adapters require("nonebot_plugin_apscheduler") require("nonebot_plugin_saa") @@ -18,14 +18,6 @@ type="application", homepage="https://github.com/lgc-NB2Dev/nonebot-plugin-nonememe", config=ConfigModel, - supported_adapters={ - "~onebot.v11", - "~onebot.v12", - "~kaiheila", - "~qqguild", - "~telegram", - "~feishu", - "~red", - }, + supported_adapters=inherit_supported_adapters("nonebot_plugin_saa"), extra={"License": "MIT", "Author": "student_2333"}, ) diff --git a/pdm.lock b/pdm.lock index cc3f504..e5affaa 100644 --- a/pdm.lock +++ b/pdm.lock @@ -6,7 +6,7 @@ groups = ["default"] cross_platform = true static_urls = false lock_version = "4.3" -content_hash = "sha256:83ffe5532b4f5d6cfd96124a4b08bbdf5042a2192464bce19119c4aa6acd2354" +content_hash = "sha256:1d84f65f1309f72a35f98f514bd4878706cc7e6dc1c5527bdbb71589a5b286c0" [[package]] name = "anyio" @@ -256,7 +256,7 @@ files = [ [[package]] name = "nonebot-plugin-send-anything-anywhere" -version = "0.2.7" +version = "0.3.2" requires_python = ">=3.8,<4.0" summary = "An adaptor for nonebot2 adaptors" dependencies = [ @@ -266,13 +266,13 @@ dependencies = [ "strenum<0.5.0,>=0.4.8", ] files = [ - {file = "nonebot_plugin_send_anything_anywhere-0.2.7-py3-none-any.whl", hash = "sha256:b9932bf2fe990825a870d061eacf6df9129f4d8b2b4a8a468f9f25d673e267a3"}, - {file = "nonebot_plugin_send_anything_anywhere-0.2.7.tar.gz", hash = "sha256:99367d4b4cf302fef32f9dc195dc2abacc7ed95cc665bc6a7e72e159bee4c15a"}, + {file = "nonebot_plugin_send_anything_anywhere-0.3.2-py3-none-any.whl", hash = "sha256:2dac60653f49aa25f3a08eb75544ecb155e30b2496f1f7a16e27ddc76ff09796"}, + {file = "nonebot_plugin_send_anything_anywhere-0.3.2.tar.gz", hash = "sha256:19a54c8f69d01f2000b1f2536eea4076acd8fe219f7f0d9060a8120bd7052d52"}, ] [[package]] name = "nonebot2" -version = "2.0.0" +version = "2.1.1" requires_python = ">=3.8,<4.0" summary = "An asynchronous python bot framework." dependencies = [ @@ -280,12 +280,12 @@ dependencies = [ "pydantic[dotenv]<2.0.0,>=1.10.0", "pygtrie<3.0.0,>=2.4.1", "tomli<3.0.0,>=2.0.1; python_version < \"3.11\"", - "typing-extensions<5.0.0,>=4.0.0", + "typing-extensions<5.0.0,>=4.4.0", "yarl<2.0.0,>=1.7.2", ] files = [ - {file = "nonebot2-2.0.0-py3-none-any.whl", hash = "sha256:a3b0caedd52033a11f1d7c24875c3b89513a4b5014f703e0bb266e2e39a0bd30"}, - {file = "nonebot2-2.0.0.tar.gz", hash = "sha256:144c175ce100c3300d53475fc47b7a9f0a6545861ff12bdc8a1442ab12d430df"}, + {file = "nonebot2-2.1.1-py3-none-any.whl", hash = "sha256:fe780eee116b2798e1db043b92aefa1b1f2bf1026725388a1dbbb211bbb4ef4b"}, + {file = "nonebot2-2.1.1.tar.gz", hash = "sha256:e3937c28bca26f2f8717fedd8594e0cfc79faa2d99a3209c4a63706727d700f8"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 3f090e9..061a904 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,11 @@ [project] name = "nonebot-plugin-nonememe" -version = "0.2.0.post3" +version = "0.2.0.post4" description = "The daily life of the NoneBot group members" authors = [{ name = "student_2333", email = "lgc2333@126.com" }] dependencies = [ - "nonebot2>=2.0.0", - "nonebot-plugin-send-anything-anywhere>=0.3.0", + "nonebot2>=2.1.1", + "nonebot-plugin-send-anything-anywhere>=0.3.2", "nonebot-plugin-apscheduler>=0.3.0", "pydantic>=1.10.4,<2", "httpx>=0.24.1",