🔧 更新 pyproject.toml 和 uv.lock,添加 yukilog 依赖及相关配置
Some checks failed
Pytest API Testing / Pytes-API-Testing (push) Failing after 41s

This commit is contained in:
远野千束 2025-04-28 21:48:25 +08:00
parent a4e423168c
commit fec96e694d
2 changed files with 32 additions and 0 deletions

View File

@ -11,6 +11,7 @@ dependencies = [
"pydantic>=2.11.3",
"pyyaml>=6.0.2",
"uvicorn>=0.34.2",
"yukilog>=0.1.1",
]
[dependency-groups]
@ -21,6 +22,23 @@ dev = [
"ruff>=0.11.7",
]
# build
[build-system]
requires = ["pdm-backend >= 2.4.0"]
build-backend = "pdm.backend"
[tool.ruff]
line-length = 80
src = ["liteyukibot", "main.py"]
# index and sources
[[tool.uv.index]]
name = "liteyuki-pypi"
url = "https://git.liteyuki.icu/api/packages/LiteyukiStudio/pypi/simple"
publish-url = "https://git.liteyuki.icu/api/packages/LiteyukiStudio/pypi"
explicit = true
[tool.uv.sources]
yukilog = [
{ index = "liteyuki-pypi" },
]

14
uv.lock generated
View File

@ -138,6 +138,7 @@ dependencies = [
{ name = "pydantic" },
{ name = "pyyaml" },
{ name = "uvicorn" },
{ name = "yukilog" },
]
[package.dev-dependencies]
@ -156,6 +157,7 @@ requires-dist = [
{ name = "pydantic", specifier = ">=2.11.3" },
{ name = "pyyaml", specifier = ">=6.0.2" },
{ name = "uvicorn", specifier = ">=0.34.2" },
{ name = "yukilog", specifier = ">=0.1.1", index = "https://git.liteyuki.icu/api/packages/LiteyukiStudio/pypi/simple" },
]
[package.metadata.requires-dev]
@ -463,3 +465,15 @@ sdist = { url = "https://files.pythonhosted.org/packages/c9/4a/44d3c295350d77642
wheels = [
{ url = "https://files.pythonhosted.org/packages/78/58/e860788190eba3bcce367f74d29c4675466ce8dddfba85f7827588416f01/wsproto-1.2.0-py3-none-any.whl", hash = "sha256:b9acddd652b585d75b20477888c56642fdade28bdfd3579aa24a4d2c037dd736", size = 24226 },
]
[[package]]
name = "yukilog"
version = "0.1.1"
source = { registry = "https://git.liteyuki.icu/api/packages/LiteyukiStudio/pypi/simple" }
dependencies = [
{ name = "loguru" },
]
sdist = { url = "https://git.liteyuki.icu/api/packages/LiteyukiStudio/pypi/files/yukilog/0.1.1/yukilog-0.1.1.tar.gz", hash = "sha256:aeaf3eed9828325196684fbf9fa284c8a2c01353f1ccdf9a2a649268b05b2da3" }
wheels = [
{ url = "https://git.liteyuki.icu/api/packages/LiteyukiStudio/pypi/files/yukilog/0.1.1/yukilog-0.1.1-py3-none-any.whl", hash = "sha256:27f778d22e6ca26e88197a413b268af709a64ef56c457dc533018da2e264248e" },
]