diff --git a/pyproject.toml b/pyproject.toml index 81a0d1d1..37476d65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,6 @@ keywords = [ classifiers = [ "Development Status :: 5 - Production/Stable", "Framework :: AsyncIO", - "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", @@ -100,7 +99,7 @@ pydantic-v2 = ["pydantic>=2.0.0"] telegram = ["nonebot-adapter-telegram>=0.1.0b20"] [build-system] -requires = ["uv_build>=0.10.0,<0.11.0"] +requires = ["uv_build>=0.11.0,<0.12.0"] build-backend = "uv_build" [tool.uv] @@ -112,6 +111,9 @@ conflicts = [ ], ] +[tool.uv.sources] +bilibili-api-python = { git = "https://github.com/Nemo2011/bilibili-api", rev = "dev" } + [tool.bumpversion] tag = true diff --git a/uv.lock b/uv.lock index 78f5b792..7c750fae 100644 --- a/uv.lock +++ b/uv.lock @@ -158,7 +158,7 @@ wheels = [ [[package]] name = "bilibili-api-python" version = "17.4.1" -source = { registry = "https://pypi.org/simple" } +source = { git = "https://github.com/Nemo2011/bilibili-api?rev=dev#29427bce09e253f0fd8fdc32a09824e8a00f3d9b" } dependencies = [ { name = "apscheduler" }, { name = "beautifulsoup4" }, @@ -173,10 +173,6 @@ dependencies = [ { name = "qrcode-terminal" }, { name = "yarl" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/54/16/475f1fdb841d2fad6223ef2eab9c1ec99d680a4271505946c25855265065/bilibili_api_python-17.4.1.tar.gz", hash = "sha256:5b0f16468cfbb3ee801c7d7cc970f9082252f6758c6d8c48c5d8dac42235cb62", size = 1420338, upload-time = "2025-12-20T10:59:40.299Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/07/50/520f98ef607687d686c9170b3ff2db944152bb0dc43bef0df7b4face8c5b/bilibili_api_python-17.4.1-py3-none-any.whl", hash = "sha256:3054b824f0f7ac81917329f19909f39d24fb3b7d9de1672c6dd4cb9fa6e5757d", size = 387124, upload-time = "2025-12-20T10:59:38.974Z" }, -] [[package]] name = "brotli" @@ -1623,7 +1619,7 @@ requires-dist = [ { name = "aiofiles", specifier = ">=25.1.0" }, { name = "apilmoji", extras = ["rich"], specifier = ">=0.3.1,<1.0.0" }, { name = "beautifulsoup4", specifier = ">=4.12.0,<5.0.0" }, - { name = "bilibili-api-python", specifier = ">=17.4.1,<18.0.0" }, + { name = "bilibili-api-python", git = "https://github.com/Nemo2011/bilibili-api?rev=dev" }, { name = "curl-cffi", specifier = ">=0.13.0,!=0.14.0,<1.0.0" }, { name = "emosvg", marker = "extra == 'all'", specifier = ">=0.1.7" }, { name = "emosvg", marker = "extra == 'emosvg'", specifier = ">=0.1.7" },