Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ repos:
- id: check-toml

- repo: https://github.com/tombi-toml/tombi-pre-commit
rev: v1.1.1
rev: v1.1.3
hooks:
- id: tombi-lint
args: ["--offline"]
- id: tombi-format
args: ["--offline"]

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.15.15
rev: v0.15.18
hooks:
- id: ruff-check
args:
Expand All @@ -29,7 +29,7 @@ repos:
- id: ruff-format

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.17
rev: 0.11.22
hooks:
- id: uv-lock
- id: uv-export
Expand Down
2 changes: 1 addition & 1 deletion backend/common/cache/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class LocalCacheManager:

def __init__(self) -> None:
self.hot_cache: cachebox.TTLCache = cachebox.TTLCache(
settings.CACHE_LOCAL_MAXSIZE, ttl=settings.CACHE_LOCAL_TTL
settings.CACHE_LOCAL_MAXSIZE, global_ttl=settings.CACHE_LOCAL_TTL
)

def get(self, key: str) -> Any:
Expand Down
1 change: 0 additions & 1 deletion backend/plugin/ai
Submodule ai deleted from 803228
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ dependencies = [
"asyncpg>=0.31.0",
"bcrypt>=5.0.0",
# If there is a serious problem, we will try `moka-py`
"cachebox>=5.2.3",
"cappa>=0.31.0",
"cachebox>=6.1.2",
"cappa>=0.32.1",
"celery>=5.6.3",
# When celery version < 6.0.0
# https://github.com/celery/celery/issues/7874
"celery-aio-pool>=0.1.0rc8",
"cryptography>=47.0.0",
"dulwich>=1.2.5",
"dulwich>=1.2.6",
"fast-captcha>=0.3.2",
"fastapi-pagination[sqlalchemy]>=0.15.13",
"fastapi[standard-no-fastapi-cloud-cli]>=0.136.3",
"fastapi-pagination[sqlalchemy]>=0.15.15",
"fastapi[standard-no-fastapi-cloud-cli]>=0.137.2",
"flower>=2.0.1",
"gevent>=26.5.0",
"granian>=2.7.5",
"granian>=2.7.6",
"itsdangerous>=2.2.0",
"jinja2>=3.1.6",
"loguru>=0.7.3",
Expand All @@ -50,13 +50,13 @@ dependencies = [
"pydantic>=2.13.4",
"pydantic-settings>=2.14.1",
"pymysql>=1.1.2",
"pyrate-limiter>=4.0.2",
"pyrate-limiter>=4.4.0",
"python-jose>=3.5.0",
"python-socketio>=5.16.2",
"python-socketio>=5.16.3",
"redis[hiredis]>=8.0.0",
"rtoml>=0.13.0",
"sqlalchemy-crud-plus>=1.13.3",
"sqlalchemy[asyncio]>=2.0.50",
"sqlalchemy[asyncio]>=2.0.51",
"sqlparse>=0.5.5",
"starlette-context>=0.5.1",
"user-agents>=2.2.0",
Expand All @@ -72,7 +72,7 @@ dev = [
"pytest-sugar>=1.1.1",
]
lint = [
"prek>=0.4.3",
"prek>=0.4.5",
]
server = [
"aio-pika>=9.6.1",
Expand Down
56 changes: 28 additions & 28 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ annotated-doc==0.0.4
# typer
annotated-types==0.7.0
# via pydantic
anyio==4.13.0
anyio==4.14.0
# via
# httpx
# starlette
Expand All @@ -34,9 +34,9 @@ bidict==0.23.1
# via python-socketio
billiard==4.2.4
# via celery
cachebox==5.2.3
cachebox==6.1.2
# via fastapi-best-architecture
cappa==0.31.0
cappa==0.32.1
# via fastapi-best-architecture
celery==5.6.3
# via
Expand All @@ -45,7 +45,7 @@ celery==5.6.3
# flower
celery-aio-pool==0.1.0rc8
# via fastapi-best-architecture
certifi==2026.5.20
certifi==2026.6.17
# via
# httpcore
# httpx
Expand Down Expand Up @@ -75,11 +75,11 @@ colorama==0.4.6 ; sys_platform == 'win32'
# pytest
# typer
# uvicorn
cryptography==48.0.0
cryptography==49.0.0
# via fastapi-best-architecture
dnspython==2.8.0
# via email-validator
dulwich==1.2.5
dulwich==1.2.6
# via fastapi-best-architecture
ecdsa==0.19.2
# via python-jose
Expand All @@ -92,34 +92,34 @@ exceptiongroup==1.3.1 ; python_full_version < '3.11'
# pytest
fast-captcha==0.3.2
# via fastapi-best-architecture
fastapi==0.136.3
fastapi==0.137.2
# via
# fastapi-best-architecture
# fastapi-pagination
fastapi-cli==0.0.24
fastapi-cli==0.0.27
# via fastapi
fastapi-pagination==0.15.13
fastapi-pagination==0.15.15
# via fastapi-best-architecture
flower==2.0.1
# via fastapi-best-architecture
gevent==26.5.0
# via fastapi-best-architecture
googleapis-common-protos==1.75.0
# via opentelemetry-exporter-otlp-proto-grpc
granian==2.7.5
granian==2.7.6
# via fastapi-best-architecture
greenlet==3.5.1
greenlet==3.5.2
# via
# gevent
# sqlalchemy
grpcio==1.80.0
grpcio==1.81.1
# via opentelemetry-exporter-otlp-proto-grpc
h11==0.16.0
# via
# httpcore
# uvicorn
# wsproto
hiredis==3.3.1
hiredis==3.4.0
# via redis
httpcore==1.0.9
# via httpx
Expand All @@ -129,7 +129,7 @@ httpx==0.28.1
# via fastapi
humanize==4.15.0
# via flower
idna==3.17
idna==3.18
# via
# anyio
# email-validator
Expand Down Expand Up @@ -238,7 +238,7 @@ pillow==12.2.0
# via fast-captcha
pluggy==1.6.0
# via pytest
prek==0.4.3
prek==0.4.5
prometheus-client==0.25.0
# via
# fastapi-best-architecture
Expand Down Expand Up @@ -287,9 +287,9 @@ pygments==2.20.0
# rich
pymysql==1.2.0
# via fastapi-best-architecture
pyrate-limiter==4.1.0
pyrate-limiter==4.4.0
# via fastapi-best-architecture
pytest==9.0.3
pytest==9.1.0
# via pytest-sugar
pytest-sugar==1.1.1
python-dateutil==2.9.0.post0
Expand All @@ -304,9 +304,9 @@ python-engineio==4.13.2
# via python-socketio
python-jose==3.5.0
# via fastapi-best-architecture
python-multipart==0.0.29
python-multipart==0.0.32
# via fastapi
python-socketio==5.16.2
python-socketio==5.16.3
# via fastapi-best-architecture
pytz==2026.2
# via flower
Expand All @@ -319,7 +319,7 @@ rich==15.0.0
# cappa
# rich-toolkit
# typer
rich-toolkit==0.19.10
rich-toolkit==0.20.1
# via fastapi-cli
rsa==4.9.1
# via python-jose
Expand All @@ -335,7 +335,7 @@ six==1.17.0
# python-dateutil
sqlakeyset==2.0.1775222100
# via fastapi-pagination
sqlalchemy==2.0.50
sqlalchemy==2.0.51
# via
# alembic
# fastapi-best-architecture
Expand All @@ -346,7 +346,7 @@ sqlalchemy-crud-plus==1.13.3
# via fastapi-best-architecture
sqlparse==0.5.5
# via fastapi-best-architecture
starlette==1.2.0
starlette==1.3.1
# via
# fastapi
# starlette-context
Expand All @@ -359,11 +359,11 @@ tomli==2.4.1 ; python_full_version < '3.11'
# alembic
# fastapi-cli
# pytest
tornado==6.5.6
tornado==6.5.7
# via flower
type-lens==0.2.6
# via cappa
typer==0.26.3
typer==0.26.7
# via fastapi-cli
typing-extensions==4.15.0
# via
Expand Down Expand Up @@ -402,17 +402,17 @@ tzdata==2026.2
# kombu
# psycopg
# tzlocal
tzlocal==5.3.1
tzlocal==5.4.3
# via celery
ua-parser==1.0.2
# via user-agents
ua-parser-builtins==202605
ua-parser-builtins==202606
# via ua-parser
urllib3==2.7.0
# via dulwich
user-agents==2.2.0
# via fastapi-best-architecture
uvicorn==0.48.0
uvicorn==0.49.0
# via
# fastapi
# fastapi-cli
Expand All @@ -425,7 +425,7 @@ vine==5.1.0
# kombu
watchfiles==1.2.0
# via uvicorn
wcwidth==0.7.0
wcwidth==0.8.1
# via prompt-toolkit
websockets==16.0
# via uvicorn
Expand Down
Loading
Loading