Skip to content

Commit 2b8046a

Browse files
author
Nicolas Steinmetz
committed
chore: bump components version
1 parent 8f2ced5 commit 2b8046a

File tree

10 files changed

+20
-29
lines changed

10 files changed

+20
-29
lines changed

arq/connections.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,5 @@ async def log_redis_info(redis: 'Redis[bytes]', log_func: Callable[[str], Any])
312312
clients_connected = info_clients.get('connected_clients', '?')
313313

314314
log_func(
315-
f'redis_version={redis_version} '
316-
f'mem_usage={mem_usage} '
317-
f'clients_connected={clients_connected} '
318-
f'db_keys={key_count}'
315+
f'redis_version={redis_version} mem_usage={mem_usage} clients_connected={clients_connected} db_keys={key_count}'
319316
)

arq/worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def func(
8282

8383
if isinstance(coroutine, str):
8484
name = name or coroutine
85-
coroutine_: 'WorkerCoroutine' = import_string(coroutine)
85+
coroutine_: WorkerCoroutine = import_string(coroutine)
8686
else:
8787
coroutine_ = coroutine
8888

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ classifiers = [
3838
]
3939
requires-python = '>=3.9'
4040
dependencies = [
41-
'redis[hiredis]>=4.2.0,<7',
42-
'click>=8.0',
41+
'redis[hiredis]>=5,<7',
42+
'click>=8,<8.2',
4343
]
44-
optional-dependencies = {watch = ['watchfiles>=0.16'] }
44+
optional-dependencies = {watch = ['watchfiles>=1.0'] }
4545
dynamic = ['version']
4646

4747
[project.scripts]

requirements/docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ requests==2.32.3
3131
snowballstemmer==2.2.0
3232
# via sphinx
3333
sphinx==5.3.0
34-
# via -r docs.in
34+
# via -r requirements/docs.in
3535
sphinxcontrib-applehelp==1.0.8
3636
# via sphinx
3737
sphinxcontrib-devhelp==1.0.6

requirements/linting.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ cryptography==42.0.5
1010
# via
1111
# types-pyopenssl
1212
# types-redis
13-
mypy==1.9.0
13+
mypy==1.15.0
1414
# via -r requirements/linting.in
1515
mypy-extensions==1.0.0
1616
# via mypy
1717
pycparser==2.22
1818
# via cffi
19-
ruff==0.3.4
19+
ruff==0.11.9
2020
# via -r requirements/linting.in
2121
types-pyopenssl==24.0.0.20240311
2222
# via types-redis
2323
types-pytz==2024.1.0.20240203
2424
# via -r requirements/linting.in
2525
types-redis==4.6.0.20240311
2626
# via -r requirements/linting.in
27-
typing-extensions==4.10.0
27+
typing-extensions==4.12.2
2828
# via mypy

requirements/pyproject.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ anyio==4.3.0
88
# via watchfiles
99
click==8.1.7
1010
# via arq (pyproject.toml)
11-
hiredis==2.3.2
11+
hiredis==3.1.1
1212
# via redis
1313
idna==3.7
1414
# via anyio
15-
redis==4.6.0
15+
redis==5.0.8
1616
# via arq (pyproject.toml)
1717
sniffio==1.3.1
1818
# via anyio
19-
watchfiles==0.21.0
19+
watchfiles==1.0.5
2020
# via arq (pyproject.toml)

requirements/testing.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ pytest-mock
88
pytest-pretty
99
pytest-timeout
1010
pytz
11-
testcontainers<4 # until we remove 3.8 support
11+
testcontainers

requirements/testing.txt

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# pip-compile --output-file=requirements/testing.txt --strip-extras requirements/testing.in
@@ -18,8 +18,6 @@ dirty-equals==0.7.1.post0
1818
# via -r requirements/testing.in
1919
docker==7.1.0
2020
# via testcontainers
21-
exceptiongroup==1.2.2
22-
# via pytest
2321
idna==3.7
2422
# via requests
2523
iniconfig==2.0.0
@@ -36,9 +34,9 @@ packaging==24.0
3634
# pytest
3735
pluggy==1.4.0
3836
# via pytest
39-
pydantic==2.6.4
37+
pydantic==2.11.4
4038
# via -r requirements/testing.in
41-
pydantic-core==2.16.3
39+
pydantic-core==2.33.2
4240
# via pydantic
4341
pygments==2.17.2
4442
# via rich
@@ -65,13 +63,9 @@ requests==2.32.3
6563
# via docker
6664
rich==13.7.1
6765
# via pytest-pretty
68-
testcontainers==3.7.1
66+
testcontainers==4.10.0
6967
# via -r requirements/testing.in
70-
tomli==2.0.1
71-
# via
72-
# coverage
73-
# pytest
74-
typing-extensions==4.10.0
68+
typing-extensions==4.12.2
7569
# via
7670
# pydantic
7771
# pydantic-core

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_redis_host(redis_container: RedisContainer) -> str:
3838

3939
@pytest.fixture(scope='session')
4040
def test_redis_port(redis_container: RedisContainer) -> int:
41-
return redis_container.get_exposed_port(redis_container.port_to_expose)
41+
return redis_container.get_exposed_port(redis_container.port)
4242

4343

4444
@pytest.fixture(scope='session')

tests/test_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ async def test_job_old(arq_redis: ArqRedis, worker, caplog):
421421
assert worker.jobs_retried == 0
422422

423423
log = re.sub(r'(\d+).\d\ds', r'\1.XXs', '\n'.join(r.message for r in caplog.records))
424-
assert log.endswith(' 0.XXs → testing:foobar() delayed=2.XXs\n' ' 0.XXs ← testing:foobar ● 42')
424+
assert log.endswith(' 0.XXs → testing:foobar() delayed=2.XXs\n 0.XXs ← testing:foobar ● 42')
425425

426426

427427
async def test_retry_repr():

0 commit comments

Comments
 (0)