diff --git a/arq/cli.py b/arq/cli.py index e4d2ef96..3d3aa300 100644 --- a/arq/cli.py +++ b/arq/cli.py @@ -60,7 +60,7 @@ async def watch_reload(path: str, worker_settings: 'WorkerSettingsType') -> None except ImportError as e: # pragma: no cover raise ImportError('watchfiles not installed, use `pip install watchfiles`') from e - loop = asyncio.get_event_loop() + loop = asyncio.get_running_loop() stop_event = asyncio.Event() def worker_on_stop(s: Signals) -> None: diff --git a/requirements/docs.txt b/requirements/docs.txt index 5d1651e5..7473b36b 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with python 3.9 +# This file is autogenerated by pip-compile with python 3.11 # To update, run: # # pip-compile --output-file=requirements/docs.txt requirements/docs.in @@ -35,7 +35,7 @@ requests==2.28.1 snowballstemmer==2.2.0 # via sphinx sphinx==5.1.1 - # via -r docs.in + # via -r requirements/docs.in sphinxcontrib-applehelp==1.0.2 # via sphinx sphinxcontrib-devhelp==1.0.2 diff --git a/requirements/linting.txt b/requirements/linting.txt index 57176e06..faf0a6ba 100644 --- a/requirements/linting.txt +++ b/requirements/linting.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with python 3.9 +# This file is autogenerated by pip-compile with python 3.11 # To update, run: # # pip-compile --output-file=requirements/linting.txt requirements/linting.in @@ -34,15 +34,9 @@ pycodestyle==2.9.1 # via flake8 pyflakes==2.5.0 # via flake8 -tomli==2.0.1 - # via - # black - # mypy types-pytz==2022.2.1.0 # via -r requirements/linting.in types-redis==4.2.8 # via -r requirements/linting.in typing-extensions==4.3.0 - # via - # black - # mypy + # via mypy diff --git a/requirements/pyproject.txt b/requirements/pyproject.txt index 5c605c88..c2c38af6 100644 --- a/requirements/pyproject.txt +++ b/requirements/pyproject.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with python 3.9 +# This file is autogenerated by pip-compile with python 3.11 # To update, run: # # pip-compile --extra=watch --output-file=requirements/pyproject.txt pyproject.toml @@ -10,17 +10,11 @@ async-timeout==4.0.2 # via redis click==8.1.3 # via arq (pyproject.toml) -deprecated==1.2.13 - # via redis -hiredis==2.0.0 +hiredis==2.1.0 # via redis idna==3.3 # via anyio -packaging==21.3 - # via redis -pyparsing==3.0.9 - # via packaging -redis[hiredis]==4.3.4 +redis[hiredis]==4.4.0 # via arq (pyproject.toml) sniffio==1.2.0 # via anyio @@ -28,5 +22,3 @@ typing-extensions==4.3.0 # via arq (pyproject.toml) watchfiles==0.16.1 # via arq (pyproject.toml) -wrapt==1.14.1 - # via deprecated diff --git a/requirements/testing.in b/requirements/testing.in index 2b39e898..5a32ec5d 100644 --- a/requirements/testing.in +++ b/requirements/testing.in @@ -3,7 +3,7 @@ dirty-equals>=0.4,<1 msgpack>=1,<2 pydantic>=1.9.2,<2 pytest>=7,<8 -pytest-asyncio>=0.19,<0.20 +pytest-asyncio>=0.20.3 pytest-mock>=3,<4 pytest-sugar>=0.9,<1 pytest-timeout>=2,<3 diff --git a/requirements/testing.txt b/requirements/testing.txt index 243d054a..a639ab8a 100644 --- a/requirements/testing.txt +++ b/requirements/testing.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with python 3.9 +# This file is autogenerated by pip-compile with python 3.11 # To update, run: # # pip-compile --output-file=requirements/testing.txt requirements/testing.in @@ -10,8 +10,6 @@ attrs==22.1.0 # via pytest coverage[toml]==6.4.4 # via -r requirements/testing.in -deprecated==1.2.13 - # via redis dirty-equals==0.4 # via -r requirements/testing.in iniconfig==1.1.1 @@ -22,7 +20,6 @@ packaging==21.3 # via # pytest # pytest-sugar - # redis pluggy==1.0.0 # via pytest psutil==5.9.1 @@ -40,7 +37,7 @@ pytest==7.1.2 # pytest-mock # pytest-sugar # pytest-timeout -pytest-asyncio==0.19.0 +pytest-asyncio==0.20.3 # via -r requirements/testing.in pytest-mock==3.8.2 # via -r requirements/testing.in @@ -52,21 +49,16 @@ pytz==2022.2.1 # via # -r requirements/testing.in # dirty-equals -# manually removed to avoid conflict with redis version from pyproject.toml -# redis==4.2.2 -# # via redislite +redis==4.4.0 + # via redislite redislite==6.2.805324 # via -r requirements/testing.in termcolor==1.1.0 # via pytest-sugar tomli==2.0.1 - # via - # coverage - # pytest + # via pytest typing-extensions==4.3.0 # via pydantic -wrapt==1.14.1 - # via deprecated # The following packages are considered to be unsafe in a requirements file: # setuptools