qqbotsdk 依赖改走 GitHub archive 源

GitHub(snowy-yang/qqbotsdk)已是 SDK 主仓库,Gitea 反为其镜像。
[tool.uv.sources] 从 Gitea git 源切到 GitHub archive tarball 的 url 源:
安装不再需要 git,uv 按 sdist 构建、lock 记录内容 hash;升级依赖用
uv lock --upgrade-package qqbotsdk 重取 main 最新。README 的 SDK 链接
同步指向 GitHub。
This commit is contained in:
snowy-yang committed 2026-09-24 21:55:41 +08:00
1 parent 94ee3298b7
commit 508604610f
3 files changed
+14 -4

No files matched your search

Generated
+12 -2
View File
@@ -487,7 +487,7 @@ dev = [
[package.metadata]
requires-dist = [
{ name = "loguru" },
{ name = "qqbotsdk", git = "https://gitea.4i.hk/hhhge/qqbotsdk.git" },
{ name = "qqbotsdk", url = "https://github.com/snowy-yang/qqbotsdk/archive/refs/heads/main.tar.gz" },
]
[package.metadata.requires-dev]
@@ -690,7 +690,7 @@ wheels = [
[[package]]
name = "qqbotsdk"
version = "0.1.0"
source = { git = "https://gitea.4i.hk/hhhge/qqbotsdk.git#b37a53f6e0dec360a3e684fbafd7140ec00a2711" }
source = { url = "https://github.com/snowy-yang/qqbotsdk/archive/refs/heads/main.tar.gz" }
dependencies = [
{ name = "aiohttp" },
{ name = "cryptography" },
@@ -698,6 +698,16 @@ dependencies = [
{ name = "python-dotenv" },
{ name = "ujson" },
]
sdist = { hash = "sha256:59960044772157383d1fba3506531e34f89102d17fcad9a14a99873566b6c526" }
[package.metadata]
requires-dist = [
{ name = "aiohttp", specifier = ">=3.14.3" },
{ name = "cryptography", specifier = ">=50.0.1" },
{ name = "loguru", specifier = ">=0.7.3" },
{ name = "python-dotenv", specifier = ">=1.2.3" },
{ name = "ujson", specifier = ">=6.0.0" },
]
[[package]]
name = "ruff"