Skip to content

Commit 51e4c0a

Browse files
committed
Upgrade redis
1 parent 03e57d1 commit 51e4c0a

File tree

3 files changed

+16
-22
lines changed

3 files changed

+16
-22
lines changed

arq/worker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ async def close(self) -> None:
870870
await self.pool.delete(self.health_check_key)
871871
if self.on_shutdown:
872872
await self.on_shutdown(self.ctx)
873-
await self.pool.close(close_connection_pool=True)
873+
await self.pool.aclose(close_connection_pool=True) # type: ignore
874874
self._pool = None
875875

876876
def __repr__(self) -> str:

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ classifiers = [
3838
]
3939
requires-python = '>=3.7'
4040
dependencies = [
41-
'redis[hiredis]>=4.2.0',
41+
'redis[hiredis]>=5.0.1',
4242
'click>=8.0',
4343
'typing-extensions>=4.1.0',
4444
]

requirements/linting.txt

+14-20
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.10
3-
# by the following command:
4-
#
5-
# pip-compile requirements/linting.in
6-
#
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile requirements/linting.in -o requirements/linting.txt
73
black==22.6.0
8-
# via -r requirements/linting.in
4+
cffi==1.16.0
5+
# via cryptography
96
click==8.1.3
107
# via black
118
colorama==0.4.5
129
# via isort
13-
flake8==5.0.4
10+
cryptography==42.0.5
1411
# via
15-
# -r requirements/linting.in
16-
# flake8-quotes
12+
# types-pyopenssl
13+
# types-redis
14+
flake8==5.0.4
15+
# via flake8-quotes
1716
flake8-quotes==3.3.1
18-
# via -r requirements/linting.in
19-
isort[colors]==5.10.1
20-
# via -r requirements/linting.in
17+
isort==5.10.1
2118
mccabe==0.7.0
2219
# via flake8
2320
mypy==1.3.0
24-
# via -r requirements/linting.in
2521
mypy-extensions==1.0.0
2622
# via
2723
# black
@@ -32,15 +28,13 @@ platformdirs==2.5.2
3228
# via black
3329
pycodestyle==2.9.1
3430
# via flake8
31+
pycparser==2.21
32+
# via cffi
3533
pyflakes==2.5.0
3634
# via flake8
37-
tomli==2.0.1
38-
# via
39-
# black
40-
# mypy
35+
types-pyopenssl==24.0.0.20240228
36+
# via types-redis
4137
types-pytz==2022.2.1.0
42-
# via -r requirements/linting.in
4338
types-redis==4.5.5.2
44-
# via -r requirements/linting.in
4539
typing-extensions==4.3.0
4640
# via mypy

0 commit comments

Comments
 (0)