Bump dependencies and pre-commits (#1029)

This commit is contained in:
Wu Clan
2026-01-22 15:55:33 +08:00
committed by GitHub
parent 68d962f2f8
commit c8ebd1e9f6
5 changed files with 569 additions and 546 deletions

View File

@@ -11,7 +11,7 @@ repos:
- id: check-toml
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.14.10
rev: v0.14.13
hooks:
- id: ruff-check
args:
@@ -21,7 +21,7 @@ repos:
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.9.18
rev: 0.9.26
hooks:
- id: uv-lock
- id: uv-export

View File

@@ -136,6 +136,7 @@ ignore = [
"RUF003",
"RUF006",
"RUF012",
"RUF067",
"TRY400",
"TRY003",
"TRY301"

View File

@@ -9,25 +9,25 @@ license = { text = "MIT" }
requires-python = ">=3.10"
dynamic = ['version']
dependencies = [
"alembic>=1.17.2",
"alembic>=1.18.1",
"asgiref>=3.11.0",
"asyncmy>=0.2.10",
"asyncmy>=0.2.11",
"asyncpg>=0.31.0",
"bcrypt>=5.0.0",
"cappa>=0.31.0",
"celery>=5.6.0",
"celery>=5.6.2",
# When celery version < 6.0.0
# https://github.com/celery/celery/issues/7874
"celery-aio-pool>=0.1.0rc8",
"cryptography>=46.0.3",
"dulwich>=0.25.0",
"dulwich>=1.0.0",
"fast-captcha>=0.3.2",
"fastapi-limiter>=0.1.6",
"fastapi-pagination>=0.15.4",
"fastapi-pagination>=0.15.6",
"fastapi[standard-no-fastapi-cloud-cli]>=0.128.0",
"flower>=2.0.1",
"gevent>=25.9.1",
"granian>=2.6.0",
"granian>=2.6.1",
"ip2loc>=1.0.0",
"itsdangerous>=2.2.0",
"jinja2>=3.1.6",
@@ -40,8 +40,8 @@ dependencies = [
"opentelemetry-instrumentation-redis>=0.60b1",
"opentelemetry-instrumentation-sqlalchemy>=0.60b1",
"opentelemetry-sdk>=1.39.1",
"prometheus-client>=0.23.1",
"psutil>=7.2.0",
"prometheus-client>=0.24.1",
"psutil>=7.2.1",
# https://github.com/fastapi-practices/fastapi_best_architecture/issues/887
"psycopg[binary]==3.2.10",
"pwdlib>=0.3.0",
@@ -53,7 +53,7 @@ dependencies = [
"redis[hiredis]>=7.1.0",
"rtoml>=0.13.0",
"sqlalchemy-crud-plus>=1.13.1",
"sqlalchemy[asyncio]>=2.0.45",
"sqlalchemy[asyncio]>=2.0.46",
"sqlparse>=0.5.5",
"starlette-context>=0.4.0",
"user-agents>=2.2.0",
@@ -65,7 +65,7 @@ dev = [
"pytest-sugar>=1.1.1",
]
lint = [
"prek>=0.2.25",
"prek>=0.3.0",
]
server = [
"aio-pika>=9.5.8",

View File

@@ -1,7 +1,7 @@
# This file was autogenerated by uv via the following command:
# uv export -o requirements.txt --no-hashes
-e .
alembic==1.17.2
alembic==1.18.1
# via fastapi-best-architecture
amqp==5.3.1
# via kombu
@@ -9,7 +9,7 @@ annotated-doc==0.0.4
# via fastapi
annotated-types==0.7.0
# via pydantic
anyio==4.12.0
anyio==4.12.1
# via
# httpx
# starlette
@@ -22,7 +22,7 @@ async-timeout==5.0.1 ; python_full_version < '3.11.3'
# via
# asyncpg
# redis
asyncmy==0.2.10
asyncmy==0.2.11
# via fastapi-best-architecture
asyncpg==0.31.0
# via fastapi-best-architecture
@@ -34,14 +34,14 @@ billiard==4.2.4
# via celery
cappa==0.31.0
# via fastapi-best-architecture
celery==5.6.0
celery==5.6.2
# via
# celery-aio-pool
# fastapi-best-architecture
# flower
celery-aio-pool==0.1.0rc8
# via fastapi-best-architecture
certifi==2025.11.12
certifi==2026.1.4
# via
# httpcore
# httpx
@@ -75,13 +75,13 @@ cryptography==46.0.3
# via fastapi-best-architecture
dnspython==2.8.0
# via email-validator
dulwich==0.25.0
dulwich==1.0.0
# via fastapi-best-architecture
ecdsa==0.19.1
# via python-jose
email-validator==2.3.0
# via fastapi
exceptiongroup==1.3.1
exceptiongroup==1.3.1 ; python_full_version < '3.11'
# via
# anyio
# celery
@@ -97,7 +97,7 @@ fastapi-cli==0.0.20
# via fastapi
fastapi-limiter==0.1.6
# via fastapi-best-architecture
fastapi-pagination==0.15.4
fastapi-pagination==0.15.6
# via fastapi-best-architecture
flower==2.0.1
# via fastapi-best-architecture
@@ -105,7 +105,7 @@ gevent==25.9.1
# via fastapi-best-architecture
googleapis-common-protos==1.72.0
# via opentelemetry-exporter-otlp-proto-grpc
granian==2.6.0
granian==2.6.1
# via fastapi-best-architecture
greenlet==3.3.0
# via
@@ -145,7 +145,7 @@ jinja2==3.1.6
# via
# fastapi
# fastapi-best-architecture
kombu==5.6.1
kombu==5.6.2
# via celery
loguru==0.7.3
# via fastapi-best-architecture
@@ -219,28 +219,28 @@ opentelemetry-util-http==0.60b1
# opentelemetry-instrumentation-asgi
# opentelemetry-instrumentation-fastapi
# opentelemetry-instrumentation-httpx
packaging==25.0
packaging==26.0
# via
# kombu
# opentelemetry-instrumentation
# opentelemetry-instrumentation-sqlalchemy
# pytest
pillow==12.0.0
pillow==12.1.0
# via fast-captcha
pluggy==1.6.0
# via pytest
prek==0.2.25
prometheus-client==0.23.1
prek==0.3.0
prometheus-client==0.24.1
# via
# fastapi-best-architecture
# flower
prompt-toolkit==3.0.52
# via click-repl
protobuf==6.33.2
protobuf==6.33.4
# via
# googleapis-common-protos
# opentelemetry-proto
psutil==7.2.0
psutil==7.2.1
# via fastapi-best-architecture
psycopg==3.2.10
# via fastapi-best-architecture
@@ -248,11 +248,11 @@ psycopg-binary==3.2.10 ; implementation_name != 'pypy'
# via psycopg
pwdlib==0.3.0
# via fastapi-best-architecture
pyasn1==0.6.1
pyasn1==0.6.2
# via
# python-jose
# rsa
pycparser==2.23 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy'
pycparser==3.0 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy'
# via cffi
pydantic==2.12.5
# via
@@ -264,7 +264,7 @@ pydantic==2.12.5
# sqlalchemy-crud-plus
pydantic-core==2.41.5
# via pydantic
pydantic-extra-types==2.10.6
pydantic-extra-types==2.11.0
# via fastapi
pydantic-settings==2.12.0
# via
@@ -320,7 +320,7 @@ six==1.17.0
# via
# ecdsa
# python-dateutil
sqlalchemy==2.0.45
sqlalchemy==2.0.46
# via
# alembic
# fastapi-best-architecture
@@ -335,9 +335,9 @@ starlette==0.50.0
# starlette-context
starlette-context==0.4.0
# via fastapi-best-architecture
termcolor==3.2.0
termcolor==3.3.0
# via pytest-sugar
tomli==2.3.0 ; python_full_version < '3.11'
tomli==2.4.0 ; python_full_version < '3.11'
# via
# alembic
# fastapi-cli
@@ -346,7 +346,7 @@ tornado==6.5.4
# via flower
type-lens==0.2.6
# via cappa
typer==0.21.0
typer==0.21.1
# via fastapi-cli
typing-extensions==4.15.0
# via
@@ -388,9 +388,9 @@ tzlocal==5.3.1
# via celery
ua-parser==1.0.1
# via user-agents
ua-parser-builtins==0.18.0.post1
ua-parser-builtins==202601
# via ua-parser
urllib3==2.6.2
urllib3==2.6.3
# via dulwich
user-agents==2.2.0
# via fastapi-best-architecture
@@ -407,9 +407,9 @@ vine==5.1.0
# kombu
watchfiles==1.1.1
# via uvicorn
wcwidth==0.2.14
wcwidth==0.3.0
# via prompt-toolkit
websockets==15.0.1
websockets==16.0
# via uvicorn
win32-setctime==1.2.0 ; sys_platform == 'win32'
# via loguru
@@ -425,5 +425,5 @@ zipp==3.23.0
# via importlib-metadata
zope-event==6.1
# via gevent
zope-interface==8.1.1
zope-interface==8.2
# via gevent

1034
uv.lock generated
View File

File diff suppressed because it is too large Load Diff