mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-05-31 16:16:11 +08:00
♻️ 迁移到 uv
This commit is contained in:
parent
5a7396bada
commit
e20aba9040
@ -185,7 +185,7 @@ class SiteMeta(type):
|
||||
elif not kwargs.get("abstract"):
|
||||
# this is the subclass
|
||||
if "name" in namespace:
|
||||
site_manager[namespace["name"]] = cls
|
||||
site_manager[namespace["name"]] = cls # type: ignore[reportArgumentType]
|
||||
super().__init__(name, bases, namespace, **kwargs)
|
||||
|
||||
|
||||
|
5067
poetry.lock
generated
5067
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
133
pyproject.toml
133
pyproject.toml
@ -1,13 +1,34 @@
|
||||
[tool.poetry]
|
||||
[project]
|
||||
authors = [{ name = "felinae98", email = "felinae225@qq.com" }]
|
||||
license = { text = "MIT" }
|
||||
requires-python = "<4.0.0,>=3.10"
|
||||
dependencies = [
|
||||
"beautifulsoup4>=4.12.3",
|
||||
"feedparser<7.0.0,>=6.0.11",
|
||||
"httpx>=0.27.2",
|
||||
"nonebot2[fastapi]<3.0.0,>=2.3.3",
|
||||
"nonebot-adapter-onebot<3.0.0,>=2.4.5",
|
||||
"nonebot-plugin-htmlrender>=0.3.5,!=0.5.0",
|
||||
"nonebot-plugin-datastore<2.0.0,>=1.3.0",
|
||||
"nonebot-plugin-apscheduler>=0.5.0",
|
||||
"nonebot-plugin-send-anything-anywhere<0.7.2,>=0.7.1",
|
||||
"pillow<11.1,>=11.0.0",
|
||||
"pyjwt<3.0.0,>=2.9.0",
|
||||
"python-socketio<6.0.0,>=5.11.4",
|
||||
"tinydb<5.0.0,>=4.8.0",
|
||||
"qrcode<8.0.0,>=7.4.2",
|
||||
"pydantic!=2.5.0,!=2.5.1,<3.0.0,>=2.9.2",
|
||||
"lxml>=5.3.0",
|
||||
"yarl>=1.11.1",
|
||||
"hishel<1.0.0,>=0.0.30",
|
||||
"expiringdictx<2.0.0,>=1.1.0",
|
||||
"rapidfuzz<4.0.0,>=3.9.7",
|
||||
]
|
||||
name = "nonebot-bison"
|
||||
version = "0.9.5"
|
||||
description = "Subscribe message from social medias"
|
||||
authors = ["felinae98 <felinae225@qq.com>"]
|
||||
license = "MIT"
|
||||
homepage = "https://github.com/felinae98/nonebot-bison"
|
||||
keywords = ["nonebot", "nonebot2", "qqbot"]
|
||||
readme = "README.md"
|
||||
include = ["nonebot_bison/admin_page/dist/**/*"]
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
@ -20,69 +41,48 @@ classifiers = [
|
||||
"License :: OSI Approved :: MIT License",
|
||||
]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.10,<4.0.0"
|
||||
beautifulsoup4 = ">=4.12.3"
|
||||
feedparser = "^6.0.11"
|
||||
httpx = ">=0.27.2"
|
||||
nonebot2 = { extras = ["fastapi"], version = "^2.3.3" }
|
||||
nonebot-adapter-onebot = "^2.4.5"
|
||||
nonebot-plugin-htmlrender = ">=0.3.5"
|
||||
nonebot-plugin-datastore = ">=1.3.0,<2.0.0"
|
||||
nonebot-plugin-apscheduler = ">=0.5.0"
|
||||
nonebot-plugin-send-anything-anywhere = ">=0.7.1,<0.7.2"
|
||||
pillow = ">=11.0.0,<11.1"
|
||||
pyjwt = "^2.9.0"
|
||||
python-socketio = "^5.11.4"
|
||||
tinydb = "^4.8.0"
|
||||
qrcode = "^7.4.2"
|
||||
pydantic = ">=2.9.2,<3.0.0,!=2.5.0,!=2.5.1"
|
||||
lxml = ">=5.3.0"
|
||||
yarl = ">=1.11.1"
|
||||
hishel = "^0.0.30"
|
||||
expiringdictx = "^1.1.0"
|
||||
rapidfuzz = "^3.9.7"
|
||||
[project.urls]
|
||||
homepage = "https://github.com/felinae98/nonebot-bison"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
ipdb = "^0.13.13"
|
||||
nonemoji = "^0.1.4"
|
||||
nb-cli = "^1.4.2"
|
||||
pre-commit = "^4.0.1"
|
||||
ruff = "^0.8.2"
|
||||
|
||||
[tool.poetry.group.test.dependencies]
|
||||
flaky = "^3.8.1"
|
||||
nonebug = "^0.3.7"
|
||||
nonebug-saa = "^0.4.1"
|
||||
pytest = ">=8.3.3,<9.0.0"
|
||||
pytest-asyncio = ">=0.24.0,<0.24.1"
|
||||
pytest-cov = ">=6.0.0,<7"
|
||||
pytest-mock = "^3.14.0"
|
||||
pytest-xdist = { extras = ["psutil"], version = "^3.6.1" }
|
||||
respx = ">=0.21.1,<0.22"
|
||||
freezegun = "^1.5.1"
|
||||
|
||||
[tool.poetry.group.docker]
|
||||
optional = true
|
||||
|
||||
[tool.poetry.group.docker.dependencies]
|
||||
nb-cli = "^1.4.2"
|
||||
nonebot2 = { extras = ["fastapi", "aiohttp"], version = "^2.3.3" }
|
||||
nonebot-adapter-red = "^0.9.0"
|
||||
nonebot-adapter-qq = "^1.5.1"
|
||||
poetry-core = "^1.9.0"
|
||||
|
||||
[tool.poetry.extras]
|
||||
cli = ["anyio", "click", "typing-extensions"]
|
||||
yaml = ["pyyaml"]
|
||||
all = ["anyio", "click", "typing-extensions", "pyyaml"]
|
||||
|
||||
[tool.poetry.plugins.nb_scripts]
|
||||
[project.entry-points.nb_scripts]
|
||||
bison = "nonebot_bison.script.cli:main"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"ipdb<1.0.0,>=0.13.13",
|
||||
"nonemoji<1.0.0,>=0.1.4",
|
||||
"nb-cli<2.0.0,>=1.4.2",
|
||||
"pre-commit<5.0.0,>=4.0.1",
|
||||
"ruff<1.0.0,>=0.8.2",
|
||||
]
|
||||
test = [
|
||||
"flaky<4.0.0,>=3.8.1",
|
||||
"nonebug<1.0.0,>=0.3.7",
|
||||
"nonebug-saa<1.0.0,>=0.4.1",
|
||||
"pytest<9.0.0,>=8.3.3",
|
||||
"pytest-asyncio<0.24.1,>=0.24.0",
|
||||
"pytest-cov<7,>=6.0.0",
|
||||
"pytest-mock<4.0.0,>=3.14.0",
|
||||
"pytest-xdist[psutil]<4.0.0,>=3.6.1",
|
||||
"respx<0.22,>=0.21.1",
|
||||
"freezegun<2.0.0,>=1.5.1",
|
||||
"pytz>=2024.2",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
docker = [
|
||||
"nb-cli<2.0.0,>=1.4.2",
|
||||
"nonebot2[aiohttp,fastapi]<3.0.0,>=2.3.3",
|
||||
"nonebot-adapter-red<1.0.0,>=0.9.0",
|
||||
"nonebot-adapter-qq<2.0.0,>=1.5.1",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
default-groups = ["dev", "test"]
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.9.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
requires = ["pdm-backend"]
|
||||
build-backend = "pdm.backend"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
markers = [
|
||||
@ -157,8 +157,3 @@ executionEnvironments = [
|
||||
{ root = "./" },
|
||||
]
|
||||
defineConstant = { PYDANTIC_V2 = true }
|
||||
|
||||
[[tool.poetry.source]]
|
||||
name = "offical-source"
|
||||
url = "https://pypi.org/simple/"
|
||||
priority = "primary"
|
||||
|
Loading…
x
Reference in New Issue
Block a user