Skip to content

Commit 2df1f0f

Browse files
authored
Bump dependencies and pre-commits (#504)
1 parent 52816dd commit 2df1f0f

File tree

5 files changed

+894
-828
lines changed

5 files changed

+894
-828
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v5.0.0
44
hooks:
55
- id: check-added-large-files
66
- id: end-of-file-fixer
77
- id: check-yaml
88
- id: check-toml
99

1010
- repo: https://github.com/charliermarsh/ruff-pre-commit
11-
rev: v0.7.2
11+
rev: v0.9.5
1212
hooks:
1313
- id: ruff
1414
args:
@@ -20,7 +20,7 @@ repos:
2020
- id: ruff-format
2121

2222
- repo: https://github.com/astral-sh/uv-pre-commit
23-
rev: 0.4.29
23+
rev: 0.5.29
2424
hooks:
2525
- id: uv-lock
2626
args:

backend/.ruff.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ select = [
99
"E",
1010
"F",
1111
"I",
12-
"TCH",
12+
"TC",
1313
# W
1414
"W505",
1515
# PT
@@ -43,8 +43,8 @@ lines-between-types = 1
4343
order-by-type = true
4444

4545
[lint.per-file-ignores]
46-
"**/api/v1/*.py" = ["TCH"]
47-
"**/model/*.py" = ["TCH003"]
46+
"**/api/v1/*.py" = ["TC"]
47+
"**/model/*.py" = ["TC003"]
4848
"**/model/__init__.py" = ["F401"]
4949
"**/tests/*.py" = ["E402"]
5050

backend/pyproject.toml

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,42 +12,43 @@ readme = "README.md"
1212
license = { text = "MIT" }
1313
requires-python = ">=3.10,<3.13"
1414
dependencies = [
15-
"alembic>=1.14.0",
15+
"aiofiles>=24.1.0",
16+
"alembic>=1.14.1",
17+
"asgi-correlation-id>=4.3.3",
1618
"asgiref>=3.8.0",
17-
"asyncmy>=0.2.9",
19+
"asyncmy>=0.2.10",
1820
"asyncpg>=0.30.0",
19-
"bcrypt>=4.2.0",
20-
"casbin>=1.36.0",
21-
"casbin_async_sqlalchemy_adapter>=1.6.0",
21+
"bcrypt>=4.2.1",
22+
"casbin>=1.38.0",
23+
"casbin_async_sqlalchemy_adapter>=1.7.0",
2224
"celery==5.3.6",
23-
"cryptography>=43.0.0",
25+
# When celery version < 6.0.0
26+
# https://github.com/celery/celery/issues/7874
27+
"celery-aio-pool==0.1.0rc8",
28+
"cryptography>=44.0.0",
2429
"fast-captcha>=0.3.2",
25-
"fastapi[all]==0.111.0",
30+
"fastapi-cli==0.0.5",
2631
"fastapi-limiter>=0.1.6",
32+
"fastapi-oauth20>=0.0.1a2",
2733
"fastapi-pagination>=0.12.34",
34+
"fastapi[all]==0.111.0",
35+
"flower>=2.0.0",
2836
"itsdangerous>=2.2.0",
29-
"loguru>=0.7.2",
37+
"jinja2>=3.1.4",
38+
"loguru>=0.7.3",
3039
"msgspec>=0.19.0",
31-
"pwdlib>=0.2.1",
3240
"path==17.0.0",
3341
"phonenumbers>=8.13.0",
3442
"psutil>=6.0.0",
35-
"pydantic>=2.9.1",
43+
"pwdlib>=0.2.1",
44+
"pydantic>=2.10.6",
3645
"python-jose>=3.3.0",
46+
"python-socketio>=5.12.0",
3747
"redis[hiredis]>=5.2.0",
48+
"sqlalchemy-crud-plus==1.6.0",
3849
"sqlalchemy[asyncio]>=2.0.30",
3950
"user-agents==2.2.0",
4051
"XdbSearchIP>=1.0.2",
41-
"fastapi_oauth20>=0.0.1a2",
42-
"flower>=2.0.0",
43-
"sqlalchemy-crud-plus==1.6.0",
44-
"jinja2>=3.1.4",
45-
"aiofiles>=24.1.0",
46-
# When celery version < 6.0.0
47-
# https://github.com/celery/celery/issues/7874
48-
"celery-aio-pool==0.1.0rc7",
49-
"asgi-correlation-id>=4.3.3",
50-
"python-socketio>=5.11.4",
5152
]
5253

5354
[dependency-groups]
@@ -56,7 +57,7 @@ dev = [
5657
"pytest-sugar>=1.0.0",
5758
]
5859
lint = [
59-
"ruff>=0.7.0",
60+
"ruff>=0.9.0",
6061
"pre-commit>=4.0.0",
6162
]
6263
server = [

backend/requirements.txt

Lines changed: 60 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
# This file was autogenerated by uv via the following command:
22
# uv export --directory backend -o requirements.txt --no-hashes
33
aiofiles==24.1.0
4-
alembic==1.14.0
5-
amqp==5.2.0
4+
alembic==1.14.1
5+
amqp==5.3.1
66
annotated-types==0.7.0
7-
anyio==4.6.0
8-
asgi-correlation-id==4.3.3
7+
anyio==4.8.0
8+
asgi-correlation-id==4.3.4
99
asgiref==3.8.1
10-
async-timeout==4.0.3 ; python_full_version < '3.11.3'
11-
asyncmy==0.2.9
10+
async-timeout==5.0.1 ; python_full_version < '3.11.3'
11+
asyncmy==0.2.10
1212
asyncpg==0.30.0
13-
bcrypt==4.2.0
13+
bcrypt==4.2.1
1414
bidict==0.23.1
1515
billiard==4.2.1
16-
casbin==1.36.3
17-
casbin-async-sqlalchemy-adapter==1.6.0
16+
casbin==1.38.0
17+
casbin-async-sqlalchemy-adapter==1.7.0
1818
celery==5.3.6
19-
celery-aio-pool==0.1.0rc7
20-
certifi==2024.8.30
19+
celery-aio-pool==0.1.0rc8
20+
certifi==2025.1.31
2121
cffi==1.17.1 ; platform_python_implementation != 'PyPy'
2222
cfgv==3.4.0
23-
click==8.1.7
23+
click==8.1.8
2424
click-didyoumean==0.3.1
2525
click-plugins==1.1.1
2626
click-repl==0.3.0
27-
colorama==0.4.6 ; sys_platform == 'win32' or platform_system == 'Windows'
28-
cryptography==43.0.3
27+
colorama==0.4.6 ; sys_platform == 'win32'
28+
cryptography==44.0.0
2929
distlib==0.3.9
3030
dnspython==2.7.0
3131
ecdsa==0.19.0
@@ -37,85 +37,86 @@ fastapi-cli==0.0.5
3737
fastapi-limiter==0.1.6
3838
fastapi-oauth20==0.0.1a2
3939
fastapi-pagination==0.12.34
40-
filelock==3.16.1
40+
filelock==3.17.0
4141
flower==2.0.1
4242
greenlet==3.1.1
4343
h11==0.14.0
44-
hiredis==3.0.0
45-
httpcore==1.0.6
46-
httptools==0.6.1
47-
httpx==0.25.2
44+
hiredis==3.1.0
45+
httpcore==1.0.7
46+
httptools==0.6.4
47+
httpx==0.28.1
4848
humanize==4.11.0
49-
identify==2.6.1
49+
identify==2.6.6
5050
idna==3.10
5151
iniconfig==2.0.0
5252
itsdangerous==2.2.0
53-
jinja2==3.1.4
53+
jinja2==3.1.5
5454
kombu==5.4.2
55-
loguru==0.7.2
56-
mako==1.3.5
55+
loguru==0.7.3
56+
mako==1.3.9
5757
markdown-it-py==3.0.0
58-
markupsafe==3.0.1
58+
markupsafe==3.0.2
5959
mdurl==0.1.2
6060
msgspec==0.19.0
6161
nodeenv==1.9.1
62-
orjson==3.10.7
63-
packaging==24.1
62+
orjson==3.10.15
63+
packaging==24.2
6464
path==17.0.0
65-
phonenumbers==8.13.27
66-
pillow==10.4.0
65+
phonenumbers==8.13.54
66+
pillow==11.1.0
6767
platformdirs==4.3.6
6868
pluggy==1.5.0
69-
pre-commit==4.0.1
70-
prometheus-client==0.21.0
71-
prompt-toolkit==3.0.48
72-
psutil==6.1.0
69+
pre-commit==4.1.0
70+
prometheus-client==0.21.1
71+
prompt-toolkit==3.0.50
72+
psutil==6.1.1
7373
pwdlib==0.2.1
7474
pyasn1==0.6.1
7575
pycparser==2.22 ; platform_python_implementation != 'PyPy'
76-
pydantic==2.9.1
77-
pydantic-core==2.23.3
78-
pydantic-extra-types==2.9.0
79-
pydantic-settings==2.5.2
80-
pygments==2.18.0
81-
pytest==8.3.3
76+
pydantic==2.10.6
77+
pydantic-core==2.27.2
78+
pydantic-extra-types==2.10.2
79+
pydantic-settings==2.7.1
80+
pygments==2.19.1
81+
pytest==8.3.4
8282
pytest-sugar==1.0.0
8383
python-dateutil==2.9.0.post0
8484
python-dotenv==1.0.1
85-
python-engineio==4.9.1
85+
python-engineio==4.11.2
8686
python-jose==3.3.0
87-
python-multipart==0.0.12
88-
python-socketio==5.11.4
89-
pytz==2024.2
87+
python-multipart==0.0.20
88+
python-socketio==5.12.1
89+
pytz==2025.1
9090
pyyaml==6.0.2
91-
redis==5.2.0
92-
rich==13.9.2
91+
redis==5.2.1
92+
rich==13.9.4
9393
rsa==4.9
94-
ruff==0.7.2
94+
ruff==0.9.5
9595
shellingham==1.5.4
9696
simple-websocket==1.1.0
97-
simpleeval==1.0.0
98-
six==1.16.0
97+
simpleeval==1.0.3
98+
six==1.17.0
9999
sniffio==1.3.1
100-
sqlalchemy==2.0.30
100+
sqlalchemy==2.0.38
101101
sqlalchemy-crud-plus==1.6.0
102102
starlette==0.37.2
103103
termcolor==2.5.0
104-
tomli==2.0.2 ; python_full_version < '3.11'
105-
tornado==6.4.1
106-
typer==0.12.5
104+
tomli==2.2.1 ; python_full_version < '3.11'
105+
tornado==6.4.2
106+
typer==0.15.1
107107
typing-extensions==4.12.2
108-
tzdata==2024.2
109-
ua-parser==0.18.0
108+
tzdata==2025.1
109+
ua-parser==1.0.1
110+
ua-parser-builtins==0.18.0.post1
110111
ujson==5.10.0
111112
user-agents==2.2.0
112-
uvicorn==0.29.0
113-
uvloop==0.20.0 ; platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'
113+
uvicorn==0.34.0
114+
uvloop==0.21.0 ; platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'
114115
vine==5.1.0
115-
virtualenv==20.26.6
116-
watchfiles==0.24.0
116+
virtualenv==20.29.1
117+
watchfiles==1.0.4
117118
wcwidth==0.2.13
118-
websockets==13.1
119-
win32-setctime==1.1.0 ; sys_platform == 'win32'
119+
websockets==14.2
120+
win32-setctime==1.2.0 ; sys_platform == 'win32'
120121
wsproto==1.2.0
121122
xdbsearchip==1.0.2

0 commit comments

Comments
 (0)