diff --git a/Dockerfile b/Dockerfile index 428adb94..6ee0f33c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM python:3.12.4-slim -COPY --from=ghcr.io/astral-sh/uv:0.4.25 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.29 /uv /bin/uv # 设置时区 ENV TZ=Asia/Shanghai diff --git a/pyproject.toml b/pyproject.toml index 67403a39..ce8ddffa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ dependencies = [ "githubkit>=0.11.14", "jinja2>=3.1.4", "nonebot-adapter-github>=0.4.1", - "nonebot2>=2.3.3", + "nonebot2>=2.4.0", "pre-commit>=4.0.1", "pydantic-extra-types>=2.9.0", ] @@ -27,9 +27,9 @@ plugin = ["click>=8.1.7", "tzdata>=2024.2"] [tool.uv] dev-dependencies = [ - "bump-my-version>=0.28.0", + "bump-my-version>=0.28.1", "inline-snapshot>=0.13.3", - "nonebug>=0.4.1", + "nonebug>=0.4.2", "poethepoet>=0.29.0", "pytest-asyncio>=0.24.0", "pytest-cov>=6.0.0", diff --git a/uv.lock b/uv.lock index cbf1ce60..368715e7 100644 --- a/uv.lock +++ b/uv.lock @@ -93,7 +93,7 @@ wheels = [ [[package]] name = "bump-my-version" -version = "0.28.0" +version = "0.28.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "click" }, @@ -105,9 +105,9 @@ dependencies = [ { name = "tomlkit" }, { name = "wcmatch" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/d4/25/9b361ff2d42733578ee2b5564cf8b7dc389a187b6b6184c2c19d090e3084/bump_my_version-0.28.0.tar.gz", hash = "sha256:ff3cb51bb15509ae8ebb8e8efa3eaa7c02209677f45457c8b007ef2f5bef7179", size = 983361 } +sdist = { url = "https://files.pythonhosted.org/packages/1d/44/8f4f5dc472a054634bffd86e4941b2624e0b050f15578d40ec15e670d8e5/bump_my_version-0.28.1.tar.gz", hash = "sha256:e608def5191baf505b6cde88bd679a0a95fc4cfeace4247adb60ac0f8a7e57ee", size = 983509 } wheels = [ - { url = "https://files.pythonhosted.org/packages/5f/f8/3d46566ab1caaac211ef678160d8174cb8e88ab4bd22439cecc6351ddecd/bump_my_version-0.28.0-py3-none-any.whl", hash = "sha256:cc84ace477022a4cc8c401ef5c035f2f752df45488be90ccb764a47f7de0e395", size = 52201 }, + { url = "https://files.pythonhosted.org/packages/ad/2c/10f770bf71116ecfcc8b2e67dd6752e7e135998579bc1dc98a6edb47bafc/bump_my_version-0.28.1-py3-none-any.whl", hash = "sha256:df7fdb02a1b43c122a6714df6d1fe4efc7a1220b5638ca5a0eb3018813c1b222", size = 52210 }, ] [[package]] @@ -311,6 +311,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/e3/26/57c6fb270950d476074c087527a558ccb6f4436657314bfb6cdf484114c4/docker-7.1.0-py3-none-any.whl", hash = "sha256:c96b93b7f0a746f9e77d325bcfb87422a3d8bd4f03136ae8a85b37f1898d5fc0", size = 147774 }, ] +[[package]] +name = "exceptiongroup" +version = "1.2.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/09/35/2495c4ac46b980e4ca1f6ad6db102322ef3ad2410b79fdde159a4b0f3b92/exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc", size = 28883 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/02/cc/b7e31358aac6ed1ef2bb790a9746ac2c69bcb3c8588b41616914eb106eaf/exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b", size = 16453 }, +] + [[package]] name = "execnet" version = "2.1.1" @@ -610,9 +619,11 @@ wheels = [ [[package]] name = "nonebot2" -version = "2.3.3" +version = "2.4.0" source = { registry = "https://pypi.org/simple" } dependencies = [ + { name = "anyio" }, + { name = "exceptiongroup" }, { name = "loguru" }, { name = "pydantic" }, { name = "pygtrie" }, @@ -620,14 +631,14 @@ dependencies = [ { name = "typing-extensions" }, { name = "yarl" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/55/d3/e5b08680ea40a4dad555b450a083b13b7a97cec044c17faa4700addd0a6f/nonebot2-2.3.3.tar.gz", hash = "sha256:4fa7707de5d708c27cc49493bc78a07fee2ba01f5516835a2ea5fbebb49b9dfa", size = 93239 } +sdist = { url = "https://files.pythonhosted.org/packages/52/26/81d7d224e48581c5964379df68d98516ea162a6370691b3d97541efda901/nonebot2-2.4.0.tar.gz", hash = "sha256:4b10e33d389847500c9bde9ef3c5533b604a90ca1529750245f1aaf82b28f1e1", size = 95827 } wheels = [ - { url = "https://files.pythonhosted.org/packages/e3/07/f410138ea6993b8a9beb5f78dd2394e9f532817eed90a653fb5a9ca9ce1d/nonebot2-2.3.3-py3-none-any.whl", hash = "sha256:5bc8d073091347f29c4a1a2f927c24a8941e5d286c77139376259318b9bbfc68", size = 110983 }, + { url = "https://files.pythonhosted.org/packages/fd/94/f2e427fa4024e1d8e4d0017611f0dec5d31f88011cf358c3741edd7482a5/nonebot2-2.4.0-py3-none-any.whl", hash = "sha256:7c712e05561afa4795c9135a5b27a43d076220f4538ffec518e68c344e3e51d4", size = 114074 }, ] [[package]] name = "nonebug" -version = "0.4.1" +version = "0.4.2" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "asgiref" }, @@ -636,9 +647,9 @@ dependencies = [ { name = "pytest" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/d1/57/4300262bbf6f8b7b69a75e8d827a32b1503fe9322210440ad785fd6bf3d0/nonebug-0.4.1.tar.gz", hash = "sha256:1bb96d715ec415351f2c7b871a86c64fdba533fb1a105e9a01cc1e250d37d52b", size = 11789 } +sdist = { url = "https://files.pythonhosted.org/packages/29/56/01eb465dc135787e463423bf4762b883159a639d02c3a577ab4efc8f9d56/nonebug-0.4.2.tar.gz", hash = "sha256:002dac00fed1fbff97574f3dffab2237fc41473b3bf3e73d2730ae34895bc137", size = 12118 } wheels = [ - { url = "https://files.pythonhosted.org/packages/ce/e0/e8d6e0db6cbff3edbb034284bd9451e9e380dde6c580fd22f1d6c2a91687/nonebug-0.4.1-py3-none-any.whl", hash = "sha256:553bfc408337fb33a19fcc936e24f4cc43200e4550a828f21e7f4406e93b62db", size = 14659 }, + { url = "https://files.pythonhosted.org/packages/a0/4a/7592e899cd5074a9b70df007afe9b6f8bbaa02b8e9c1ce7f5c5498634cb7/nonebug-0.4.2-py3-none-any.whl", hash = "sha256:83d9229ec899819e9f5786eabc0c27b9dd0cd5d6e2e7438f59923ab822d5c555", size = 15030 }, ] [[package]] @@ -681,7 +692,7 @@ requires-dist = [ { name = "githubkit", specifier = ">=0.11.14" }, { name = "jinja2", specifier = ">=3.1.4" }, { name = "nonebot-adapter-github", specifier = ">=0.4.1" }, - { name = "nonebot2", specifier = ">=2.3.3" }, + { name = "nonebot2", specifier = ">=2.4.0" }, { name = "pre-commit", specifier = ">=4.0.1" }, { name = "pydantic-extra-types", specifier = ">=2.9.0" }, { name = "tzdata", marker = "extra == 'plugin'", specifier = ">=2024.2" }, @@ -689,9 +700,9 @@ requires-dist = [ [package.metadata.requires-dev] dev = [ - { name = "bump-my-version", specifier = ">=0.28.0" }, + { name = "bump-my-version", specifier = ">=0.28.1" }, { name = "inline-snapshot", specifier = ">=0.13.3" }, - { name = "nonebug", specifier = ">=0.4.1" }, + { name = "nonebug", specifier = ">=0.4.2" }, { name = "poethepoet", specifier = ">=0.29.0" }, { name = "pytest-asyncio", specifier = ">=0.24.0" }, { name = "pytest-cov", specifier = ">=6.0.0" },