diff --git a/nonebot_plugin_eventmonitor/__init__.py b/nonebot_plugin_eventmonitor/__init__.py index 9f35495..6856022 100644 --- a/nonebot_plugin_eventmonitor/__init__.py +++ b/nonebot_plugin_eventmonitor/__init__.py @@ -9,12 +9,11 @@ GROUP_OWNER, ) -from .config import Config, utils -from .handle import eventmonitor - require('nonebot_plugin_localstore') require('nonebot_plugin_apscheduler') +from .config import Config, utils +from .handle import eventmonitor driver = get_driver() @@ -126,7 +125,7 @@ async def _() -> None: supported_adapters={'~onebot.v11'}, extra={ 'author': 'Reversedeer', - 'version': '0.4.5', + 'version': '0.4.6', 'priority': 50, 'email': 'ysjvillmark@gmail.com', }, diff --git a/nonebot_plugin_eventmonitor/config.py b/nonebot_plugin_eventmonitor/config.py index 897f92d..910ef8b 100644 --- a/nonebot_plugin_eventmonitor/config.py +++ b/nonebot_plugin_eventmonitor/config.py @@ -57,7 +57,7 @@ def __init__(self) -> None: } self.g_temp = {} self.chuo_CD_dir = {} - self.current_version = 'v0.4.5' + self.current_version = 'v0.4.6' self.config_path: Path = store.get_plugin_config_dir() self.data_address: Path = self.config_path / 'config.json' self.release_url = 'https://api.github.com/repos/Reversedeer/nonebot_plugin_eventmonitor/releases/latest' diff --git a/poetry.lock b/poetry.lock index 637f4df..200aa87 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2233,4 +2233,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = ">=3.9,<4.0" -content-hash = "e8de8f1d230cb0805c9187c3bbb5583bbce4490a3830e9906002c89e581195d2" +content-hash = "3331d0d762deb208052a0dafba1c5df9d30f9fdd410a042085de6e90dd880da0" diff --git a/pyproject.toml b/pyproject.toml index 9ef172e..4ab3b4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nonebot-plugin-eventmonitor" -version = "0.4.5" +version = "0.4.6" description = "监控群事件的插件 For Nonebot2" authors = [{ name = "Reversedeer", email = "ysjvillmark@gmail.com" }] readme = "README.md" @@ -13,7 +13,7 @@ dependencies = [ "nonebot-plugin-localstore>=0.6.0", "pydantic>=1.10.0,<3.0.0,!=2.5.0,!=2.5.1,!=2.10.0", "pillow>=9.4.0", - "httpx[http2]>=0.27.0,<1.0.0", + "httpx[http2]>=0.27.2,<1.0.0", "packaging>=24.2", ] [project.urls] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index c177778..0000000 --- a/requirements.txt +++ /dev/null @@ -1,7 +0,0 @@ -httpx>=0.27.0,<1.0.0 -pillow>=9.4.0 -nonebot2>=2.2.0 -nonebot-adapter-onebot>=2.1.3 -nonebot-plugin-apscheduler>=0.1.3 -pydantic>=1.10.0,<3.0.0,!=2.5.0,!=2.5.1,!=2.10.0 -packaging>=24.2 \ No newline at end of file