Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update dependencies, fixing tests #382

Merged
merged 2 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arq/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pipelines fixed themselves, so I don't think we need to merge this PR.

This is somewhat still relevant, but also not really needed. Feel free to close.

Another potential good thing to do is to use get_running_loop() over get_event_loop(), as per documentation.

stop_event = asyncio.Event()

def worker_on_stop(s: Signals) -> None:
Expand Down
4 changes: 2 additions & 2 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 2 additions & 8 deletions requirements/linting.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
14 changes: 3 additions & 11 deletions requirements/pyproject.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -10,23 +10,15 @@ 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
typing-extensions==4.3.0
# via arq (pyproject.toml)
watchfiles==0.16.1
# via arq (pyproject.toml)
wrapt==1.14.1
# via deprecated
2 changes: 1 addition & 1 deletion requirements/testing.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 5 additions & 13 deletions requirements/testing.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -22,7 +20,6 @@ packaging==21.3
# via
# pytest
# pytest-sugar
# redis
pluggy==1.0.0
# via pytest
psutil==5.9.1
Expand All @@ -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
Expand All @@ -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