File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 22import contextlib
33import inspect
44import logging
5+ import sys
56import signal
67from dataclasses import dataclass
78from datetime import datetime , timedelta , timezone
@@ -266,7 +267,7 @@ def __init__(
266267 # self.job_tasks holds references the actual jobs running
267268 self .job_tasks : Dict [str , asyncio .Task [Any ]] = {}
268269 self .main_task : Optional [asyncio .Task [None ]] = None
269- self .loop = asyncio .get_event_loop ()
270+ self .loop = asyncio .get_event_loop () if sys . version_info < ( 3 , 14 ) else asyncio . new_event_loop ()
270271 self .ctx = ctx or {}
271272 max_timeout = max (f .timeout_s or self .job_timeout_s for f in self .functions .values ())
272273 self .in_progress_timeout_s = (max_timeout or 0 ) + 10
Original file line number Diff line number Diff line change 44#
55# pip-compile --output-file=requirements/linting.txt --strip-extras requirements/linting.in
66#
7- cffi==1.16 .0
7+ cffi==2.0 .0
88 # via cryptography
99cryptography==42.0.5
1010 # via
1111 # types-pyopenssl
1212 # types-redis
13- mypy==1.9.0
13+ mypy==1.18.2
1414 # via -r requirements/linting.in
15- mypy-extensions==1.0 .0
15+ mypy-extensions==1.1 .0
1616 # via mypy
1717pycparser==2.22
1818 # via cffi
@@ -24,5 +24,5 @@ types-pytz==2024.1.0.20240203
2424 # via -r requirements/linting.in
2525types-redis==4.6.0.20240311
2626 # via -r requirements/linting.in
27- typing-extensions==4.10 .0
27+ typing-extensions==4.15 .0
2828 # via mypy
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ packaging==24.0
3636 # pytest
3737pluggy==1.4.0
3838 # via pytest
39- pydantic==2.6.4
39+ pydantic==2.12.1
4040 # via -r requirements/testing.in
41- pydantic-core==2.16 .3
41+ pydantic-core==2.41 .3
4242 # via pydantic
4343pygments==2.17.2
4444 # via rich
@@ -71,7 +71,7 @@ tomli==2.0.1
7171 # via
7272 # coverage
7373 # pytest
74- typing-extensions==4.10 .0
74+ typing-extensions==4.15 .0
7575 # via
7676 # pydantic
7777 # pydantic-core
You can’t perform that action at this time.
0 commit comments