mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 06:27:23 +08:00
: bug: 放宽依赖限制
This commit is contained in:
parent
b240d75552
commit
bb9b8a1ced
@ -539,10 +539,18 @@ async def npm_search(keywords: list[str]) -> list[StorePlugin]:
|
|||||||
Returns:
|
Returns:
|
||||||
list[StorePlugin]: 插件列表
|
list[StorePlugin]: 插件列表
|
||||||
"""
|
"""
|
||||||
|
plugin_blacklist = [
|
||||||
|
"nonebot_plugin_xiuxian_2",
|
||||||
|
"nonebot_plugin_htmlrender",
|
||||||
|
"nonebot_plugin_alconna",
|
||||||
|
]
|
||||||
|
|
||||||
results = []
|
results = []
|
||||||
async with aiofiles.open("data/liteyuki/plugins.json", "r", encoding="utf-8") as f:
|
async with aiofiles.open("data/liteyuki/plugins.json", "r", encoding="utf-8") as f:
|
||||||
plugins: list[StorePlugin] = [StorePlugin(**pobj) for pobj in json.loads(await f.read())]
|
plugins: list[StorePlugin] = [StorePlugin(**pobj) for pobj in json.loads(await f.read())]
|
||||||
for plugin in plugins:
|
for plugin in plugins:
|
||||||
|
if plugin.module_name in plugin_blacklist:
|
||||||
|
continue
|
||||||
plugin_text = ' '.join(
|
plugin_text = ' '.join(
|
||||||
[
|
[
|
||||||
plugin.name,
|
plugin.name,
|
||||||
|
@ -1,26 +1,26 @@
|
|||||||
aiohttp==3.9.3
|
aiohttp~=3.9.3
|
||||||
aiofiles==23.2.1
|
aiofiles~=23.2.1
|
||||||
colored==2.2.4
|
colored~=2.2.4
|
||||||
dash==2.16.1
|
dash~=2.16.1
|
||||||
GitPython==3.1.42
|
GitPython~=3.1.42
|
||||||
httpx==0.27.0
|
httpx~=0.27.0
|
||||||
nb-cli==1.4.1
|
nb-cli~=1.4.1
|
||||||
nonebot2[fastapi,httpx,websockets]==2.2.1
|
nonebot2[fastapi,httpx,websockets]
|
||||||
nonebot-plugin-htmlrender==0.3.1
|
nonebot-plugin-htmlrender~=0.3.1
|
||||||
nonebot-adapter-onebot==2.4.3
|
nonebot-adapter-onebot~=2.4.3
|
||||||
nonebot-plugin-alconna==0.43.0
|
nonebot-plugin-alconna~=0.43.0
|
||||||
nonebot_plugin_apscheduler==0.4.0
|
nonebot_plugin_apscheduler~=0.4.0
|
||||||
packaging==23.1
|
packaging~=23.1
|
||||||
playwright==1.17.2
|
playwright~=1.17.2
|
||||||
psutil==5.9.8
|
psutil~=5.9.8
|
||||||
py-cpuinfo==9.0.0
|
py-cpuinfo~=9.0.0
|
||||||
pydantic==1.10.14
|
pydantic~=1.10.14
|
||||||
Pygments==2.17.2
|
Pygments~=2.17.2
|
||||||
pytz==2024.1
|
pytz~=2024.1
|
||||||
PyYAML~=6.0.1
|
PyYAML~=6.0.1
|
||||||
starlette~=0.36.3
|
starlette~=0.36.3
|
||||||
loguru==0.7.2
|
loguru~=0.7.2
|
||||||
importlib_metadata==7.0.2
|
importlib_metadata~=7.0.2
|
||||||
requests==2.31.0
|
requests~=2.31.0
|
||||||
watchdog==4.0.0
|
watchdog~=4.0.0
|
||||||
pillow==10.2.0
|
pillow~=10.2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user